Skip to content

Commit

Permalink
Fix firmware env var creation
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonm23 committed Aug 23, 2024
1 parent 523112b commit d2457eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
run: |
sudo apt install gcc-avr avr-libc
make ${{ github.event.inputs.make-target }}
echo "firmware=$("${{ github.event.inputs.make-target }}" | tr ':' '_')" >> $
echo "FIRMWARE=$("${{ github.event.inputs.make-target }}" | tr ':' '_')" >> $GITHUB_ENV
- name: Upload a Firmware
uses: actions/upload-artifact@v4
with:
name: "${{ env.firmware }}.hex"
name: "${{ env.FIRMWARE }}.hex"
path: ./.build

0 comments on commit d2457eb

Please sign in to comment.