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 65963ec commit 24574fe
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/49-rename-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: 49 - Rename on Release # https://stackoverflow.com/questions/71270252/rena

on:
push:
# tags:
# - '*'
tags:
- '*'

jobs:
job1:
runs-on: ubuntu-latest
steps:
- name: env list
run: env
- run: echo $GITHUB_REF_NAME

job2:
runs-on: ubuntu-latest
steps:
Expand All @@ -22,8 +22,8 @@ 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
- name: Release
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
- 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

0 comments on commit 24574fe

Please sign in to comment.