From d7f4d0c18ecb166f4fbf24447cb280ec4a18feae Mon Sep 17 00:00:00 2001 From: Akos Kitta Date: Thu, 3 Sep 2020 17:50:58 +0200 Subject: [PATCH] Fixed the tag name of the GH releases. Signed-off-by: Akos Kitta --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b683fa9f..3462f71c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -145,12 +145,17 @@ jobs: name: build-artifacts path: build-artifacts + - name: Get Tag + id: tag_name + run: | + echo ::set-output name=TAG_NAME::${GITHUB_REF#refs/tags/} + - name: Publish Release [GitHub] uses: kittaakos/upload-release-action@dev with: repo_token: ${{ secrets.RELEASE_TOKEN }} repo_name: arduino/arduino-pro-ide - release_name: ${{ github.event.release.tag_name }} + release_name: ${{ steps.tag_name.outputs.TAG_NAME }} file: build-artifacts/* tag: ${{ github.ref }} file_glob: true