Merge pull request #13 from asdf-vm/tb/workflow-jobs-fix

fix(golang-rewrite): set dependencies between release-build jobs
This commit is contained in:
Trevor Brown 2024-02-03 15:26:28 -05:00 committed by Trevor Brown
commit 5604c2f7de

View File

@ -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 # 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_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 }}" echo "version is: ${{ env.ASDF_VERSION }}"
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Create GitHub release - name: Create GitHub release
@ -74,6 +74,7 @@ jobs:
name: ${{ env.ASDF_VERSION }} name: ${{ env.ASDF_VERSION }}
build: build:
needs: create-release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- -