Skip to content

Commit d7f4d0c

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
Fixed the tag name of the GH releases.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
1 parent 6ae7404 commit d7f4d0c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,17 @@ jobs:
145145
name: build-artifacts
146146
path: build-artifacts
147147

148+
- name: Get Tag
149+
id: tag_name
150+
run: |
151+
echo ::set-output name=TAG_NAME::${GITHUB_REF#refs/tags/}
152+
148153
- name: Publish Release [GitHub]
149154
uses: kittaakos/upload-release-action@dev
150155
with:
151156
repo_token: ${{ secrets.RELEASE_TOKEN }}
152157
repo_name: arduino/arduino-pro-ide
153-
release_name: ${{ github.event.release.tag_name }}
158+
release_name: ${{ steps.tag_name.outputs.TAG_NAME }}
154159
file: build-artifacts/*
155160
tag: ${{ github.ref }}
156161
file_glob: true

0 commit comments

Comments
 (0)