diff --git a/.github/workflows/publish-android.yml b/.github/workflows/publish-android.yml index 641e8026d9..ec00f41159 100644 --- a/.github/workflows/publish-android.yml +++ b/.github/workflows/publish-android.yml @@ -26,6 +26,9 @@ jobs: needs: build-android steps: - uses: actions/checkout@v4 + with: + fetch-tags: true + - 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 796675db29..8cf16a6b2a 100644 --- a/.github/workflows/publish-jvm.yml +++ b/.github/workflows/publish-jvm.yml @@ -26,6 +26,9 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v4 + with: + fetch-tags: true + - 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 60e23c9f25..40ac2d0aa3 100644 --- a/.github/workflows/publish-swift.yml +++ b/.github/workflows/publish-swift.yml @@ -25,6 +25,9 @@ jobs: with: xcode-version: '14.3.1' - uses: actions/checkout@v4 + with: + fetch-tags: true + - 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 d072b26155..42ebd18226 100644 --- a/.github/workflows/publish-wasm.yml +++ b/.github/workflows/publish-wasm.yml @@ -22,6 +22,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-tags: true + - 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