diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 02f4025..de90962 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -145,10 +145,10 @@ jobs: exit 1 fi - - name: Checkout tag + # Check out the workflow's own ref (not the release tag) so bin/deploy-wporg.sh + # exists even when re-deploying a tag that predates it. The ZIP is the artifact. + - name: Checkout deploy script uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - with: - ref: refs/tags/${{ inputs.tag || github.ref_name }} - name: Download build artifact uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8