Skip to content

Commit

Permalink
update GITHUB_SHA ENV
Browse files Browse the repository at this point in the history
fixes #567
  • Loading branch information
T0biii authored Jan 25, 2025
1 parent d1d255a commit ff05b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: build target ${{ matrix.target }}
id: compile
run: |
git checkout -b patched ${GITHUB_SHA}
git checkout -b patched ${{ github.event.pull_request.head.sha || github.sha }}
make BROKEN=1 GLUON_TARGETS=${{ matrix.target }} BUILD_NUMBER=${{ github.event.pull_request.number && format('pr{0}', github.event.pull_request.number) || github.run_id && format('run{0}', github.run_id) }} V=s
echo "status=success" >> $GITHUB_OUTPUT
- name: Upload firmware ${{ matrix.target }}
Expand Down

0 comments on commit ff05b36

Please sign in to comment.