From faa6c1526e6037f97126ca31b338dcd14a4ba617 Mon Sep 17 00:00:00 2001 From: Yves Brissaud Date: Fri, 16 Feb 2024 14:37:03 +0100 Subject: [PATCH] ci: use ref_name when release on tag push Signed-off-by: Yves Brissaud --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27cb774..e7b0faa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: permissions: contents: write env: - RELEASE_REF: ${{ github.event_name == 'push' && github.ref || inputs.tag }} + RELEASE_REF: ${{ github.event_name == 'push' && github.ref_name || inputs.tag }} steps: - name: Check out code uses: actions/checkout@v4