Skip to content

Commit 64d2c87

Browse files
neilimeleigholiver
andauthored
fix(entrypoint): use up-to-date set output command (#4)
* 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 <leigh@leigholiver.com>
1 parent 9562ffd commit 64d2c87

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Action to commit a file or directory to another repo using a deploy key.
77
* Add the private key to your source repo as a secret
88
* Add this action to your workflow:
99
```yaml
10-
uses: leigholiver/commit-with-deploy-key@v1.0.3
10+
uses: leigholiver/commit-with-deploy-key@v1.0.4
1111
with:
1212
source: build_output
1313
destination_folder: dist

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.0.3
1+
v1.0.4

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ git commit -m "${INPUT_COMMIT_MESSAGE}" || echo
4848
GIT_SSH_COMMAND=$GIT_SSH git push -u origin $INPUT_DESTINATION_BRANCH
4949

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

0 commit comments

Comments
 (0)