Skip to content

Commit

Permalink
ci(perf): fix format error of GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxpicca-Li committed Oct 28, 2024
1 parent 312e973 commit 07cdd36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Determine if this is the biweekly run
id: determine_run
run: |
if [ $(( $(date +'%V') % 2 )) -eq 1 ]; then
if [ $(( $(date +'%V') % 2 )) -eq 0 ]; then
echo "run_biweekly=true" >> $GITHUB_OUTPUT
else
echo "run_biweekly=false" >> $GITHUB_OUTPUT
Expand All @@ -40,10 +40,10 @@ jobs:
run: |
if [ "${{ github.event.inputs.test_commit }}" = "" ]; then
echo "Using latest commit."
echo "commit_sha::${{ github.sha }}" >> $GITHUB_OUTPUT
echo "commit_sha=${{ github.sha }}" >> $GITHUB_OUTPUT
else
echo "Using specified commit: ${{ github.event.inputs.test_commit }}"
echo "commit_sha::${{ github.event.inputs.test_commit }}" >> $GITHUB_OUTPUT
echo "commit_sha=${{ github.event.inputs.test_commit }}" >> $GITHUB_OUTPUT
fi
- name: Checkout code at specific commit
Expand Down

0 comments on commit 07cdd36

Please sign in to comment.