Skip to content

Commit

Permalink
ci(release): build PGO file on failure only
Browse files Browse the repository at this point in the history
ci(release): update build PGO file script

Signed-off-by: Dwi Siswanto <[email protected]>

ci(release): build PGO file on failure only

Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 committed Mar 22, 2024
1 parent 0ab40ce commit 1a53ff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
name: pgo

- name: Build PGO file
run: '[[ -f "${{ env.PGO_FILE }}" ]] || make pgo'
if: (success() || failure())
if: failure()
run: make pgo

- run: git config --global --add safe.directory "$(pwd)"

Expand Down

0 comments on commit 1a53ff5

Please sign in to comment.