Skip to content

Commit c1935f9

Browse files
Merge pull request #13 from Verilean/feature/rv32
ci: git stash before benchmark push to avoid gh-pages switch conflict
2 parents 9da7df6 + cf6189b commit c1935f9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ jobs:
178178
EOF
179179
cat ../rv32-bench-results.json
180180
181+
- name: Stash local changes before benchmark push
182+
if: github.event_name == 'push'
183+
run: git stash --include-untracked || true
184+
181185
- name: Store RV32 benchmark result
182186
uses: benchmark-action/github-action-benchmark@v1
183187
if: github.event_name == 'push'

0 commit comments

Comments
 (0)