diff --git a/.github/workflows/generate-pgo.yaml b/.github/workflows/generate-pgo.yaml index a986f28..27a9cab 100644 --- a/.github/workflows/generate-pgo.yaml +++ b/.github/workflows/generate-pgo.yaml @@ -30,7 +30,9 @@ jobs: with: ref: ${{ env.PGO_BRANCH }} - - run: git rm --cached ${{ env.PGO_FILE }} + - run: | + git rm --cached ${{ env.PGO_FILE }} + cp /tmp/${{ env.PGO_FILE }} . - uses: actions/upload-artifact@v4 if: (success() || failure()) @@ -42,7 +44,6 @@ jobs: - name: pushing PGO file run: | - cp /tmp/${{ env.PGO_FILE }} . git config --local user.email "ghost@users.noreply.github.com" git config --local user.name "ghost" git add ${{ env.PGO_FILE }}