From c9cf3e13447aaa6bd2a4095eb5590e64c869ad32 Mon Sep 17 00:00:00 2001 From: Andrew McGivery Date: Thu, 19 Sep 2024 16:01:42 -0400 Subject: [PATCH] Fix version output --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b85ffe7..f8b41b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,8 @@ defaults: jobs: get-version: runs-on: ubuntu-latest + outputs: + version: ${{ steps.store-version.outputs.sha }} steps: - uses: actions/checkout@v4 - name: Install Knope @@ -17,6 +19,7 @@ jobs: with: version: 0.18.0 - name: Store version + id: store-version run: echo "version=$(knope get-version)" >> $GITHUB_OUTPUT build-artifacts: