mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 00:10:45 +02:00
replace ::set-output in release action (#4493)
Update the 'Release' GitHub Action workflow to replace the deprecated ::set-output command with the newer $GITHUB_OUTPUT file mechanism.
This commit is contained in:
parent
1a396c5c5b
commit
f1fc571208
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
@ -69,8 +69,8 @@ jobs:
|
|||
id: tagName
|
||||
run: |
|
||||
TAG=$(git describe --tags --exact-match)
|
||||
echo ::set-output name=tag::${TAG}
|
||||
echo ::set-output name=version::${TAG#v}
|
||||
echo "tag=${TAG}" >> $GITHUB_OUTPUT
|
||||
echo "version=${TAG#v}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Install Cloudsmith CLI
|
||||
run: |
|
||||
|
@ -96,7 +96,7 @@ jobs:
|
|||
id: latestTag
|
||||
run: |
|
||||
LATEST_TAG=$(git tag | grep -vi 'rc' | sort --version-sort | tail -1)
|
||||
echo "::set-output name=tag::${LATEST_TAG}"
|
||||
echo "tag=${LATEST_TAG}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Publish latest tag
|
||||
if: "steps.latestTag.outputs.tag == steps.tagName.outputs.tag"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue