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