Skip to content

Commit

Permalink
rollback: setoutput::
Browse files Browse the repository at this point in the history
  • Loading branch information
nullxx committed May 20, 2024
1 parent 4453ac6 commit b2b78db
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 "version=$(cat VERSION)" >> $GITHUB_OUTPUT
run: echo "::set-output name=version::$(cat VERSION)"

- 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 "exists=$VERSION_EXISTS" >> $GITHUB_OUTPUT
echo "::set-output name=exists::$VERSION_EXISTS"
- name: Build Docker image
run: |
Expand All @@ -68,7 +68,7 @@ jobs:

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

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

0 comments on commit b2b78db

Please sign in to comment.