From 04126f1cf7f3f6ba2b162c61ec74084b9f1c4a60 Mon Sep 17 00:00:00 2001 From: Peter Kok Date: Fri, 7 Jun 2024 13:30:29 +0200 Subject: [PATCH] More debugging --- .github/workflows/build-and-test.yml | 9 +++++++++ .github/workflows/publish.yml | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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.