diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ab14f17..14e164ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,10 +97,6 @@ jobs: fail-fast: false runs-on: ${{ matrix.os }} steps: - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: 1.19 - uses: actions/download-artifact@v4 with: name: workdir-${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }} @@ -112,6 +108,10 @@ jobs: run: | git reset --hard git checkout v0.0.0-${{ matrix.pythonVersion }}-${{ matrix.pythonStandaloneVersion }}-$(cat build-num) + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: 1.19 - name: run tests shell: bash run: | @@ -135,6 +135,9 @@ jobs: - uses: actions/download-artifact@v4 with: name: workdir-${{ matrix.pythonStandaloneVersion }} ${{ matrix.pythonVersion }} + - name: rename .git back + run: | + mv git-dir .git - name: update remote url run: | git remote set-url origin https://token:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY