Skip to content

Commit

Permalink
Workflows: replace deprecated ::set-output pseudo-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekkow authored and job committed Aug 12, 2024
1 parent 4c394ca commit 491526a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Get short SHA from commit hash
id: tagcalc
run: echo "::set-output name=tagname::$(git describe --tags --abbrev=0 HEAD)"
run: echo "tagname=$(git describe --tags --abbrev=0 HEAD)" >> $GITHUB_OUTPUT

- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- name: Get short SHA from commit hash
id: shacalc
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
run: echo "sha8=${GITHUB_SHA:0:8}" >> $GITHUB_OUTPUT

- name: Check Out Repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 491526a

Please sign in to comment.