diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52fa63c..99f4322 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,8 @@ jobs: - name: checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: + # Build the tagged commit, not whichever ref the workflow was dispatched on. + ref: "refs/tags/${{ github.event.inputs.release-tag }}" persist-credentials: false - name: 'install rust toolchain'