From 7a5b29fa69c144011b7e4bbff269bcb6754da079 Mon Sep 17 00:00:00 2001 From: Trevor Brown Date: Sat, 3 Feb 2024 15:21:55 -0500 Subject: [PATCH] fix(golang-rewrite): set dependencies betwen release-build workflow jobs --- .github/workflows/release-build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 9fb79845..e38b7f27 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -61,7 +61,7 @@ jobs: # # See: https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/m-p/32167/highlight/true#M1027 #echo "ASDF_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - echo "ASDF_VERSION=$GITHUB_SHA" >> "$GITHUB_ENV" + echo "ASDF_VERSION=${GITHUB_SHA::7}" >> "$GITHUB_ENV" echo "version is: ${{ env.ASDF_VERSION }}" - uses: actions/checkout@v3 - name: Create GitHub release @@ -74,6 +74,7 @@ jobs: name: ${{ env.ASDF_VERSION }} build: + needs: create-release runs-on: ubuntu-latest steps: -