diff --git a/.github/workflows/publish-android.yml b/.github/workflows/publish-android.yml index 797679ba38..eddebb686a 100644 --- a/.github/workflows/publish-android.yml +++ b/.github/workflows/publish-android.yml @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: force-fetch the tag to work around actions/checkout#290 - run: git fetch -f origin ${{ github.ref }} + run: git fetch -f origin ${{ github.ref }}:${{ github.ref }} - name: ensure the tag is signed run: git cat-file tag ${{ github.ref_name }} | grep -q -- '-----BEGIN PGP SIGNATURE-----' - name: set up jdk 17 diff --git a/.github/workflows/publish-jvm.yml b/.github/workflows/publish-jvm.yml index d84bd15c2f..de07d75221 100644 --- a/.github/workflows/publish-jvm.yml +++ b/.github/workflows/publish-jvm.yml @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: force-fetch the tag to work around actions/checkout#290 - run: git fetch -f origin ${{ github.ref }} + run: git fetch -f origin ${{ github.ref }}:${{ github.ref }} - name: ensure the tag is signed run: git cat-file tag ${{ github.ref_name }} | grep -q -- '-----BEGIN PGP SIGNATURE-----' - name: setup rust diff --git a/.github/workflows/publish-swift.yml b/.github/workflows/publish-swift.yml index 5d88ee3b40..7d0afcc983 100644 --- a/.github/workflows/publish-swift.yml +++ b/.github/workflows/publish-swift.yml @@ -26,7 +26,7 @@ jobs: xcode-version: '14.3.1' - uses: actions/checkout@v4 - name: force-fetch the tag to work around actions/checkout#290 - run: git fetch -f origin ${{ github.ref }} + run: git fetch -f origin ${{ github.ref }}:${{ github.ref }} - name: ensure the tag is signed run: git cat-file tag ${{ github.ref_name }} | grep -q -- '-----BEGIN PGP SIGNATURE-----' - name: "setup rust" diff --git a/.github/workflows/publish-wasm.yml b/.github/workflows/publish-wasm.yml index fba6fc5b00..f74c134968 100644 --- a/.github/workflows/publish-wasm.yml +++ b/.github/workflows/publish-wasm.yml @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: force-fetch the tag to work around actions/checkout#290 - run: git fetch -f origin ${{ github.ref }} + run: git fetch -f origin ${{ github.ref }}:${{ github.ref }} - name: ensure the tag is signed run: git cat-file tag ${{ github.ref_name }} | grep -q -- '-----BEGIN PGP SIGNATURE-----' - uses: actions-rust-lang/setup-rust-toolchain@v1