Skip to content

Commit 6734eef

Browse files
add sha check and fix node&python builds
1 parent 71831b7 commit 6734eef

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/build.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,12 @@ jobs:
126126

127127
- name: Install `rcodesign`
128128
run: |
129-
curl -L https://github.com/indygreg/apple-platform-rs/releases/download/apple-codesign%2F0.29.0/apple-codesign-0.29.0-x86_64-unknown-linux-musl.tar.gz | tar -xz --strip-components=1
129+
curl -L https://github.com/indygreg/apple-platform-rs/releases/download/apple-codesign%2F0.29.0/apple-codesign-0.29.0-x86_64-unknown-linux-musl.tar.gz \
130+
-o rcodesign.tar.gz
131+
echo "dbe85cedd8ee4217b64e9a0e4c2aef92ab8bcaaa41f20bde99781ff02e600002 rcodesign.tar.gz" | sha256sum -c -
132+
tar -xz --strip-components=1 -f rcodesign.tar.gz
130133
mv rcodesign /usr/local/bin/rcodesign
134+
rm rcodesign.tar.gz
131135
132136
- name: Decode Apple signing certificate and API key
133137
env:
@@ -271,7 +275,7 @@ jobs:
271275
python:
272276
name: python
273277
runs-on: ubuntu-24.04
274-
needs: [linux, macos, macos_universal, windows, python-base]
278+
needs: [linux, sign-macos-binaries, windows, python-base]
275279
steps:
276280
- uses: actions/checkout@v3
277281
- uses: actions/setup-python@v4
@@ -297,7 +301,7 @@ jobs:
297301
npm-distributions:
298302
name: 'Build NPM distributions'
299303
runs-on: ubuntu-24.04
300-
needs: [linux, macos, macos_universal, windows]
304+
needs: [linux, sign-macos-binaries, windows]
301305
steps:
302306
- uses: actions/checkout@v3
303307
- uses: actions/setup-node@v4
@@ -395,7 +399,7 @@ jobs:
395399
merge:
396400
name: Create Release Artifact
397401
runs-on: ubuntu-24.04
398-
needs: [linux, macos, macos_universal, windows, npm-distributions, node, python]
402+
needs: [linux, sign-macos-binaries, windows, npm-distributions, node, python]
399403
steps:
400404
- uses: actions/upload-artifact/merge@v4
401405
with:

0 commit comments

Comments
 (0)