From e6a38657c840230b4085ba6cac67a64fcfd28331 Mon Sep 17 00:00:00 2001 From: GuillaumeFalourd Date: Mon, 28 Feb 2022 14:10:44 -0300 Subject: [PATCH] update 49 workflow Signed-off-by: GuillaumeFalourd --- .github/workflows/49-rename-on-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/49-rename-on-release.yml b/.github/workflows/49-rename-on-release.yml index c58c97c364..95e33e4196 100644 --- a/.github/workflows/49-rename-on-release.yml +++ b/.github/workflows/49-rename-on-release.yml @@ -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 }}