Skip to content

Commit

Permalink
Update benchmark.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored Oct 3, 2024
1 parent b9d63ff commit a0b46ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Run benchmarks for PR branch
if: ${{ env.hasBenchmark == '1' }}
run: |
swift package --allow-writing-to-directory .benchmarkBaselines/ --package-path Benchmarks/ benchmark baseline update pull_request --no-progress --quiet
swift package --package-path Benchmarks/ --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update pull_request --no-progress --quiet
- name: Switch to branch 'main'
if: ${{ env.hasBenchmark == '1' }}
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Run benchmarks for branch 'main'
if: ${{ env.hasBenchmark == '1' }}
run: |
swift package --allow-writing-to-directory .benchmarkBaselines/ --package-path Benchmarks/ benchmark baseline update main --no-progress --quiet
swift package --package-path Benchmarks/ --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update main --no-progress --quiet
- name: Compare PR and main
if: ${{ env.hasBenchmark == '1' }}
Expand Down

0 comments on commit a0b46ea

Please sign in to comment.