Skip to content

Commit

Permalink
Run action without Docker
Browse files Browse the repository at this point in the history
Move to composite action as described in
https://dev.to/github/build-your-own-github-action-without-a-docker-container-1eic.
The goal is to improve runtime by avoiding to build a Docker image
  • Loading branch information
mre committed May 29, 2022
1 parent ca2ad7e commit 050c957
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
17 changes: 0 additions & 17 deletions Dockerfile

This file was deleted.

14 changes: 12 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,18 @@ inputs:
default: false
required: false
runs:
using: "docker"
image: "Dockerfile"
using: "composite"
steps:
- name: install lychee
run: |
curl -LO 'https://github.com/lycheeverse/lychee/releases/download/v0.9.0/lychee-v0.9.0-x86_64-unknown-linux-gnu.tar.gz'
tar -xvzf lychee-v0.9.0-x86_64-unknown-linux-gnu.tar.gz
chmod 755 lychee
shell: bash
- run: |
source entrypoint.sh
shell: bash
branding:
icon: "external-link"
color: "purple"

0 comments on commit 050c957

Please sign in to comment.