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 9a02eb9 commit 21b799e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/49-rename-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ jobs:
- 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=megadesk-$GITHUB_REF_NAME.hex
echo $FILE
echo FILE=$FILE >> GITHUB_ENV
FILENAME=megadesk-$GITHUB_REF_NAME.hex
echo $FILENAME
echo FILENAME=$FILENAME >> GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ env.FILE }}
env:
FILE: ${{ env.FILENAME }}

0 comments on commit 21b799e

Please sign in to comment.