Skip to content

Commit

Permalink
fix(entrypoint): use up-to-date set output command (#4)
Browse files Browse the repository at this point in the history
* fix(entrypoint): use up-to-date set output command

See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

* chore: bump version

---------

Co-authored-by: Leigh Oliver <[email protected]>
  • Loading branch information
neilime and leigholiver authored Mar 12, 2024
1 parent 9562ffd commit 64d2c87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Action to commit a file or directory to another repo using a deploy key.
* Add the private key to your source repo as a secret
* Add this action to your workflow:
```yaml
uses: leigholiver/[email protected].3
uses: leigholiver/[email protected].4
with:
source: build_output
destination_folder: dist
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.3
v1.0.4
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ git commit -m "${INPUT_COMMIT_MESSAGE}" || echo
GIT_SSH_COMMAND=$GIT_SSH git push -u origin $INPUT_DESTINATION_BRANCH

# output the commit hash
echo "::set-output name=commit_hash::$(git rev-parse HEAD)"
echo "commit_hash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
exit 0

0 comments on commit 64d2c87

Please sign in to comment.