From d9089b11acf1376fc392e19ba6b9820c0c484b1c Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Thu, 24 Apr 2025 08:36:17 +0200 Subject: [PATCH] GitHub: fix order of operations --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9362cd9b8..660d07bca 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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