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'