Skip to content

Commit

Permalink
New style for '::set-output'
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Salminen authored and kazie committed Dec 2, 2022
1 parent 063435b commit 18757e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:

- name: Get version from github ref
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
run: echo "{VERSION}={${GITHUB_REF/refs\/tags\//}}" >> $GITHUB_OUTPUT


- name: Build and push
uses: docker/build-push-action@v3
Expand All @@ -42,7 +43,7 @@ jobs:
steps:
- name: Get version from github ref
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
run: echo "{VERSION}={${GITHUB_REF/refs\/tags\//}}" >> $GITHUB_OUTPUT

- name: Login via Azure CLI
uses: azure/login@v1
Expand Down

0 comments on commit 18757e4

Please sign in to comment.