Skip to content

Commit 79c4f0e

Browse files
committed
ci: Update release steps to include vendored submodules and use proper Rust toolchain
1 parent 6ee0598 commit 79c4f0e

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
steps:
7676
- name: Checkout the revision
7777
uses: actions/checkout@v4
78+
with:
79+
submodules: recursive
80+
fetch-depth: 0
7881
- name: Build the wheel
7982
uses: PyO3/maturin-action@v1
8083
env:
@@ -89,6 +92,7 @@ jobs:
8992
export PATH="$PATH:$HOME/.local/bin"
9093
manylinux: ${{ matrix.manylinux }}
9194
target: ${{ matrix.platform.arch }}
95+
rust-toolchain: stable
9296
- name: Upload artifacts
9397
uses: actions/upload-artifact@v4
9498
with:
@@ -111,6 +115,9 @@ jobs:
111115
steps:
112116
- name: Checkout the revision
113117
uses: actions/checkout@v4
118+
with:
119+
submodules: recursive
120+
fetch-depth: 0
114121
- name: Build the wheel
115122
uses: PyO3/maturin-action@v1
116123
env:
@@ -125,6 +132,7 @@ jobs:
125132
export PATH="$PATH:$HOME/.local/bin"
126133
manylinux: ${{ matrix.manylinux }}
127134
target: ${{ matrix.platform.arch }}
135+
rust-toolchain: stable
128136
- name: Upload artifacts
129137
uses: actions/upload-artifact@v4
130138
with:
@@ -142,6 +150,14 @@ jobs:
142150
steps:
143151
- name: Checkout the revision
144152
uses: actions/checkout@v4
153+
with:
154+
submodules: recursive
155+
fetch-depth: 0
156+
- name: Set up Rust toolchain
157+
uses: actions-rust-lang/setup-rust-toolchain@v1
158+
with:
159+
toolchain: stable
160+
cache: false
145161
- name: Install prerequisites
146162
run: |
147163
brew install protobuf
@@ -167,6 +183,14 @@ jobs:
167183
steps:
168184
- name: Checkout the revision
169185
uses: actions/checkout@v4
186+
with:
187+
submodules: recursive
188+
fetch-depth: 0
189+
- name: Set up Rust toolchain
190+
uses: actions-rust-lang/setup-rust-toolchain@v1
191+
with:
192+
toolchain: stable
193+
cache: false
170194
- name: Install prerequisites
171195
run: |
172196
brew install protobuf
@@ -188,6 +212,9 @@ jobs:
188212
steps:
189213
- name: Checkout the revision
190214
uses: actions/checkout@v4
215+
with:
216+
submodules: recursive
217+
fetch-depth: 0
191218
- name: Set up Python as Runtime
192219
uses: actions/setup-python@v5
193220
with:

0 commit comments

Comments
 (0)