From 6818b518972db2d44f04ffdad9eadd0ec791b458 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 between release-build 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: -