Skip to content

Commit d9bc935

Browse files
committed
ci: move cp cmd to the last
Signed-off-by: Dwi Siswanto <[email protected]>
1 parent c9913c2 commit d9bc935

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/generate-pgo.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ jobs:
2626
- uses: actions/checkout@v3
2727
with:
2828
ref: ${{ env.PGO_BRANCH }}
29-
- run: |
30-
git rm --cached ${{ env.PGO_FILE }}
31-
cp /tmp/${{ env.PGO_FILE }} .
29+
- run: git rm --cached ${{ env.PGO_FILE }}
3230
- if: ${{ success() || failure() }}
3331
run: |
32+
cp /tmp/${{ env.PGO_FILE }} .
3433
git config --local user.email "[email protected]"
3534
git config --local user.name "ghost"
3635
git add ${{ env.PGO_FILE }}

0 commit comments

Comments
 (0)