Skip to content

Commit

Permalink
chore: ci: specify full ref mapping
Browse files Browse the repository at this point in the history
Apparently, ${{ github.ref }} is the full ref name, starting with refs/,
so implicit mapping won't work.
  • Loading branch information
istankovic committed Jan 29, 2025
1 parent 3cd8338 commit 26dde1d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-jvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26dde1d

Please sign in to comment.