From 246b9099c4cfa0e8bd608b337e155eb3c150fd62 Mon Sep 17 00:00:00 2001 From: Alan Rynne Date: Tue, 5 Nov 2024 11:21:13 +0000 Subject: [PATCH] fix: Use bulid output version instead of fake --- .github/workflows/build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46887fd..641f45f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,13 +14,11 @@ on: permissions: contents: read -env: - GitVersion_FullSemVer: 3.0.0-fakeRelease - jobs: build: runs-on: windows-latest - + outputs: + version: ${{ steps.set-version.outputs.version }} steps: - uses: actions/checkout@v4 with: @@ -76,7 +74,7 @@ jobs: workflow: build-cpp-installers repo: specklesystems/connector-installers token: ${{ secrets.CONNECTORS_GH_TOKEN }} - inputs: '{ "run_id": "${{ github.run_id }}", "version": "${{ env.GitVersion_FullSemVer }}", "public_release": ${{ env.IS_TAG_BUILD }}, "store_artifacts": ${{ env.IS_RELEASE_BRANCH }} }' + inputs: '{ "run_id": "${{ github.run_id }}", "version": "${{ needs.build.outputs.version }}", "public_release": ${{ env.IS_TAG_BUILD }}, "store_artifacts": ${{ env.IS_RELEASE_BRANCH }} }' ref: main wait-for-completion: true wait-for-completion-interval: 10s