Skip to content

Commit 1436e54

Browse files
committed
Re-enables installing protobuf all the time
1 parent ba35054 commit 1436e54

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
matrix:
2929
include:
3030
- target: aarch64-unknown-linux-gnu
31-
requires-cross-compilation: true # assuming x86-64 runner
3231
os: ubuntu-latest
3332

3433
- target: x86_64-unknown-linux-gnu
@@ -38,11 +37,9 @@ jobs:
3837
os: ubuntu-latest
3938

4039
- target: aarch64-unknown-linux-musl
41-
requires-cross-compilation: true # assuming x86-64 runner
4240
os: ubuntu-latest
4341

4442
- target: aarch64-apple-darwin
45-
requires-cross-compilation: true # assuming x86-64 runner
4643
os: macos-latest
4744

4845
- target: x86_64-apple-darwin
@@ -58,8 +55,11 @@ jobs:
5855
with:
5956
tool: cross
6057

58+
# This installs protobuf on the host (runner)
59+
# This is not needed for cross-compiled targets, however there is no
60+
# way to check the architecture of the current runner, so this just always
61+
# runs.
6162
- name: Install Protobuf
62-
if: matrix.requires-cross-compilation == false
6363
uses: ./.github/actions/install-protobuf
6464

6565
# Run the build & upload artifacts

0 commit comments

Comments
 (0)