Skip to content

Commit

Permalink
update 49 workflow
Browse files Browse the repository at this point in the history
Signed-off-by: GuillaumeFalourd <guillaume.falourd@zup.com.br>
  • Loading branch information
GuillaumeFalourd committed Feb 28, 2022
1 parent 24574fe commit e6a3865
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/49-rename-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ jobs:
- run: echo "test" >> ./Code/.pio/build/attiny841/firmware.hex
- run: mv ./Code/.pio/build/attiny841/firmware.hex ./Code/.pio/build/attiny841/megadesk-$GITHUB_REF_NAME.hex
- run: cat ./Code/.pio/build/attiny841/megadesk-$GITHUB_REF_NAME.hex
- run: |
FILE=./Code/.pio/build/attiny841/megadesk-$GITHUB_REF_NAME.hex
echo $FILE
echo FILE=$FILE >> GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./Code/.pio/build/attiny841/megadesk-$GITHUB_REF_NAME.hex
files: ${{ env.FILE }}

0 comments on commit e6a3865

Please sign in to comment.