diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 663566eb4..d138c2ae5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,10 +33,13 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Get Git Commit Description - run: | + - name: Set Environment Variable + run: | echo "BIN_COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - echo ${{github.BIN_COMMIT}} + + - name: Use Environment Variable + run: | + echo "The BIN_COMMIT is $BIN_COMMIT" - name: Install Rust uses: dtolnay/rust-toolchain@stable