Skip to content

Commit

Permalink
update 49 workflow
Browse files Browse the repository at this point in the history
Signed-off-by: GuillaumeFalourd <[email protected]>
  • Loading branch information
GuillaumeFalourd committed Feb 28, 2022
1 parent 21b799e commit 2b5655c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/49-rename-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ 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: |
FILENAME=megadesk-$GITHUB_REF_NAME.hex
FILENAME=./Code/.pio/build/attiny841/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 }}
files: ./Code/.pio/build/attiny841/megadesk-V0.5.hex

0 comments on commit 2b5655c

Please sign in to comment.