Skip to content

Commit

Permalink
ci(generate-pgo): copying PGO b4 upload as artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 committed Mar 23, 2024
1 parent dae535b commit 242f967
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/generate-pgo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -42,7 +44,6 @@ jobs:

- name: pushing PGO file
run: |
cp /tmp/${{ env.PGO_FILE }} .
git config --local user.email "[email protected]"
git config --local user.name "ghost"
git add ${{ env.PGO_FILE }}
Expand Down

0 comments on commit 242f967

Please sign in to comment.