From deb4a4fbb094a73347f9fa5bd032c694d7ed70ee Mon Sep 17 00:00:00 2001 From: Alex Ostrovski Date: Tue, 3 Feb 2026 20:29:29 +0200 Subject: [PATCH] Fix `REF` in release workflow --- .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 2c30f6b1..20c1017c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,7 +78,7 @@ jobs: env: OS: ${{ matrix.os }} TARGET: ${{ matrix.target }} - REF: ${{ inputs.label || github.ref }} + REF: ${{ inputs.label == '' && github.ref || inputs.label }} - name: Publish archive uses: softprops/action-gh-release@v1 if: github.event_name == 'push' && github.ref_type == 'tag'