diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 04cb18e..be76b30 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -57,3 +57,12 @@ jobs: with: name: build-artifacts path: dist/ + + job2: + runs-on: ubuntu-latest + needs: build-and-test + steps: + - env: + VERSION: ${{needs.build-and-test.outputs.VERSION}} + run: echo "$VERSION" + \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9e9d47a..7179bc0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -76,7 +76,7 @@ jobs: - name: Create GitHub Release env: GITHUB_TOKEN: ${{ github.token }} - VERSION: ${{ needs.build-and-test.outputs.version }} + VERSION: ${{ needs.build-and-test.outputs.VERSION }} run: >- gh release create "v${VERSION}" @@ -86,7 +86,7 @@ jobs: - name: Upload artifact signatures to GitHub Release env: GITHUB_TOKEN: ${{ github.token }} - VERSION: ${{ needs.build-and-test.outputs.version }} + VERSION: ${{ needs.build-and-test.outputs.VERSION }} # Upload to GitHub Release using the `gh` CLI. # `dist/` contains the built packages, and the # sigstore-produced signatures and certificates.