Skip to content

Commit

Permalink
chore: remove ::set-output as is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
nullxx committed May 20, 2024
1 parent bb77459 commit 4453ac6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:

- name: Get version from VERSION file
id: get_version
run: echo "::set-output name=version::$(cat VERSION)"
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT

- name: Check if Docker image already exists
id: check_image
run: |
VERSION_EXISTS=$(docker pull ${{ secrets.DOCKERHUB_USERNAME }}/mpp-pynq-front:${{ steps.get_version.outputs.version }} && echo "true" || echo "false")
echo "::set-output name=exists::$VERSION_EXISTS"
echo "exists=$VERSION_EXISTS" >> $GITHUB_OUTPUT
- name: Build Docker image
run: |
Expand All @@ -68,7 +68,7 @@ jobs:

- name: Get version from VERSION file
id: get_version
run: echo "::set-output name=version::$(cat VERSION)"
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT

- name: Release Existence Action
uses: insightsengineering/release-existence-action@v1.0.0
Expand Down

0 comments on commit 4453ac6

Please sign in to comment.