Skip to content

Commit 14e2509

Browse files
committed
fix: release CI
1 parent 01aeee2 commit 14e2509

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/release.yml

+8-10
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

0 commit comments

Comments
 (0)