Skip to content

Commit

Permalink
chore: change deprecated gh action output syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesfrey committed Aug 9, 2024
1 parent 8402649 commit c2e6579
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
- id: get_version
run: |
RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/v!!p')
echo "::set-output name=release_version::$RELEASE_VERSION"
echo "release_version=$RELEASE_VERSION" >> "$GITHUB_OUTPUT"
outputs:
release_version: ${{ steps.get_version.outputs.release_version }}
- name: Set up Go
uses: actions/setup-go@v5
with:
Expand Down Expand Up @@ -46,7 +48,9 @@ jobs:
- id: get_version
run: |
RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/!!p')
echo "::set-output name=release_version::$RELEASE_VERSION"
echo "release_version=$RELEASE_VERSION" >> "$GITHUB_OUTPUT"
outputs:
release_version: ${{ steps.get_version.outputs.release_version }}
- name: Get Docker tags
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v2
Expand Down Expand Up @@ -88,7 +92,9 @@ jobs:
- id: get_version
run: |
RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/!!p')
echo "::set-output name=release_version::$RELEASE_VERSION"
echo "release_version=$RELEASE_VERSION" >> "$GITHUB_OUTPUT"
outputs:
release_version: ${{ steps.get_version.outputs.release_version }}
- uses: geertvdc/[email protected]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
Expand Down

0 comments on commit c2e6579

Please sign in to comment.