Skip to content

Commit a318830

Browse files
committed
Fix release workflow: retire macos-13, add OpenSSL static for cross builds, force bash shell on upload
1 parent f7b7426 commit a318830

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- target: aarch64-apple-darwin
4343
os: macos-latest
4444
- target: x86_64-apple-darwin
45-
os: macos-13
45+
os: macos-latest
4646
- target: aarch64-unknown-linux-gnu
4747
os: ubuntu-latest
4848
use_cross: true
@@ -67,6 +67,8 @@ jobs:
6767

6868
- name: Build
6969
shell: bash
70+
env:
71+
OPENSSL_STATIC: ${{ matrix.use_cross == 'true' && '1' || '' }}
7072
run: |
7173
if [ "${{ matrix.use_cross }}" = "true" ]; then
7274
cross build --release --target ${{ matrix.target }}
@@ -101,6 +103,7 @@ jobs:
101103
echo "sha256=${ARCHIVE}.sha256" >> "$GITHUB_OUTPUT"
102104
103105
- name: Upload to release
106+
shell: bash
104107
env:
105108
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106109
run: |

0 commit comments

Comments
 (0)