diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 9f6eebf..0000000 --- a/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM lycheeverse/lychee:0.9.0@sha256:d5b7a864beb60cb56d0eb0034fcabf2ede343ddef1c64d6f69b5493a57fc38c3 - -LABEL maintainer="Matthias Endler " -LABEL repository="https://github.com/lycheeverse/lychee-action" -LABEL homepage="https://github.com/lycheeverse/lychee-action" - -LABEL com.github.actions.name="Link Checker" -LABEL com.github.actions.description="Quickly check links in Markdown, HTML, and text files" -LABEL com.github.actions.icon="external-link" -LABEL com.github.actions.color="purple" - -COPY README.md / -COPY LICENSE-MIT LICENSE-APACHE / - -COPY entrypoint.sh /entrypoint.sh - -ENTRYPOINT ["/entrypoint.sh"] diff --git a/action.yml b/action.yml index c32e0cb..e3e5744 100644 --- a/action.yml +++ b/action.yml @@ -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"