Skip to content

Commit

Permalink
Merge pull request #90 from errnesto/master
Browse files Browse the repository at this point in the history
Fix invalid syntax of github action file
  • Loading branch information
filiph authored Dec 17, 2021
2 parents 8b74603 + ff386c2 commit 1234fe0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions GithubActionDockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM google/dart

RUN pub global activate linkcheck
COPY github_action_entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ inputs:

runs:
using: 'docker'
image: 'Dockerfile'
entrypoint:
['sh', '-c', '/root/.pub-cache/bin/linkcheck ${{ inputs.arguments }}']
image: 'GithubActionDockerfile'
3 changes: 3 additions & 0 deletions github_action_entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

sh -c "/root/.pub-cache/bin/linkcheck $INPUT_ARGUMENTS"

0 comments on commit 1234fe0

Please sign in to comment.