Skip to content

Commit 07d03fd

Browse files
committed
fix: release CI
1 parent 01aeee2 commit 07d03fd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
matrix:
1616
target:
1717
- x86_64-unknown-linux-gnu
18-
# - x86_64-pc-windows-gnu
1918
# - x86_64-apple-darwin
2019
- aarch64-apple-darwin
2120
name:
@@ -25,8 +24,6 @@ jobs:
2524
include:
2625
- target: x86_64-unknown-linux-gnu
2726
os: ubuntu-latest
28-
# - target: x86_64-pc-windows-gnu
29-
# os: windows-latest
3027
# - target: x86_64-apple-darwin
3128
# os: macos-latest
3229
- target: aarch64-apple-darwin
@@ -38,6 +35,7 @@ jobs:
3835
with:
3936
ref: "stable"
4037
fetch-depth: 0
38+
submodules: true
4139

4240
- name: Log commit hash
4341
run: |
@@ -65,13 +63,13 @@ jobs:
6563
${{ runner.os }}-cargo-build-${{ matrix.target }}-
6664
${{ runner.os }}-cargo-build-
6765
68-
- name: Install GNU toolchain (Windows)
69-
if: matrix.target == 'x86_64-pc-windows-gnu'
70-
uses: msys2/setup-msys2@v2
71-
with:
72-
msystem: MINGW64
73-
update: true
74-
install: mingw-w64-x86_64-gcc
66+
- name: Install protoc (Ubuntu)
67+
if: runner.os == 'Linux'
68+
run: sudo apt-get install protobuf-compiler
69+
70+
- name: Install protoc (macOS)
71+
if: runner.os == 'macOS'
72+
run: brew install protobuf
7573

7674
- name: Set up Rust
7775
uses: actions-rs/toolchain@v1
@@ -114,6 +112,7 @@ jobs:
114112
with:
115113
ref: "stable"
116114
fetch-depth: 0
115+
submodules: true
117116

118117
- name: Set up QEMU
119118
uses: docker/setup-qemu-action@v3
@@ -150,6 +149,7 @@ jobs:
150149
with:
151150
ref: "stable"
152151
fetch-depth: 0
152+
submodules: true
153153

154154
- name: Set up QEMU
155155
uses: docker/setup-qemu-action@v3

0 commit comments

Comments
 (0)