GitHub: fix order of operations

This commit is contained in:
Oliver Gugger 2025-04-24 08:36:17 +02:00
parent bc4229b32e
commit d9089b11ac
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -24,15 +24,15 @@ jobs:
with:
fetch-depth: 0
- name: cleanup space
run: rm -rf /opt/hostedtoolcache && mkdir -p /opt/hostedtoolcache/go
- name: setup go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'
cache: 'false'
- name: cleanup space
run: rm -rf /opt/hostedtoolcache
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV