Skip to content

Commit 7e50b84

Browse files
authored
Merge pull request #9759 from guggero/fix-release
GitHub: fix order of operations for release build
2 parents bc4229b + d9089b1 commit 7e50b84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424
with:
2525
fetch-depth: 0
2626

27+
- name: cleanup space
28+
run: rm -rf /opt/hostedtoolcache && mkdir -p /opt/hostedtoolcache/go
29+
2730
- name: setup go ${{ env.GO_VERSION }}
2831
uses: actions/setup-go@v5
2932
with:
3033
go-version: '${{ env.GO_VERSION }}'
3134
cache: 'false'
3235

33-
- name: cleanup space
34-
run: rm -rf /opt/hostedtoolcache
35-
3636
- name: Set env
3737
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
3838

0 commit comments

Comments
 (0)