From d0a511986aa3275485ebf9e17301d1dfa08b9ad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Mon, 22 Jan 2024 17:38:46 +0200 Subject: [PATCH] Fix GH upload. --- .github/workflows/on_release_attach_artifacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on_release_attach_artifacts.yml b/.github/workflows/on_release_attach_artifacts.yml index 5d8ee76..0ae98c6 100644 --- a/.github/workflows/on_release_attach_artifacts.yml +++ b/.github/workflows/on_release_attach_artifacts.yml @@ -114,6 +114,6 @@ jobs: - name: Upload artifacts to release if: ${{ github.event_name == 'release' }} run: | - gh release upload ${{ github.ref_name }} ${{ env.ARCHIVE}} + gh release upload ${{ github.event.release.tag_name }} ${{ env.ARCHIVE}} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}