diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc8c1dd..6a6720b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} - name: Get the release version from the tag shell: bash - run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + run: echo "VERSION=${{ steps.tag_version.outputs.new_tag }}" >> $GITHUB_ENV - name: Build run: cargo build --release --target ${{ matrix.target }} - name: Build archive