Skip to content

Commit

Permalink
Refactor release workflow to include version in artifact filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenart12 committed Sep 18, 2024
1 parent 7474d21 commit bc0c645
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ jobs:
run: |
cd ./pio-eub-firmware
pio run
mv .pio/build/nanoatmega328/{firmware.hex,pio-eub-firmware-${{ github.ref_name }}.hex}
mv .pio/build/nanoatmega328/{firmware.elf,pio-eub-firmware-${{ github.ref_name }}.elf}
- name: Create new release with build artifact
uses: softprops/action-gh-release@v1
with:
files: |
./pyetera-uart-bridge/dist/*
./pio-eub-firmware/.pio/build/nanoatmega328/firmware.*
./pio-eub-firmware/.pio/build/nanoatmega328/pio-eub-firmware-*
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref }}
name: Release ${{ github.ref_name}}
Expand Down

0 comments on commit bc0c645

Please sign in to comment.