Skip to content

Commit e7d12c1

Browse files
committed
use version: nightly for the once_cell try
1 parent e63980a commit e7d12c1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/artifacts.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- uses: ./.github/actions/setup-rust
2424
with:
2525
target: aarch64-unknown-linux-gnu
26+
version: nightly
2627
- run: |
2728
sudo apt-get update && sudo apt-get install -y g++-aarch64-linux-gnu libssl-dev
2829
mkdir .cargo
@@ -65,6 +66,7 @@ jobs:
6566
- uses: ./.github/actions/setup-rust
6667
with:
6768
target: aarch64-apple-darwin
69+
version: nightly
6870
- run: cargo build --release
6971
working-directory: ./cli
7072
- run: cargo build --release --target aarch64-apple-darwin
@@ -95,6 +97,8 @@ jobs:
9597
with:
9698
submodules: true
9799
- uses: ./.github/actions/setup-rust
100+
with:
101+
version: nightly
98102
- run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse
99103
- run: cargo build --release
100104
working-directory: ./cli
@@ -116,6 +120,8 @@ jobs:
116120
with:
117121
submodules: true
118122
- uses: ./.github/actions/setup-rust
123+
with:
124+
version: nightly
119125
- uses: actions/setup-python@v4
120126
with:
121127
python-version: "3.12"
@@ -146,6 +152,8 @@ jobs:
146152
platforms: linux/${{ matrix.architecture }}
147153
if: github.event_name == 'release' && matrix.architecture != 'x86_64'
148154
- uses: ./.github/actions/setup-rust
155+
with:
156+
version: nightly
149157
- run: sed 's/%arch%/${{ matrix.architecture }}/g' .github/workflows/manylinux_build.sh | sed 's/%for_each_version%/${{ github.event_name == 'release' || '' }}/g' > .github/workflows/manylinux_build_script.sh
150158
- run: docker run -v "$(pwd)":/workdir --platform linux/${{ matrix.architecture }} quay.io/pypa/manylinux2014_${{ matrix.architecture }} /bin/bash /workdir/.github/workflows/manylinux_build_script.sh
151159
if: github.event_name == 'release' || matrix.architecture == 'x86_64'
@@ -169,6 +177,8 @@ jobs:
169177
platforms: linux/${{ matrix.architecture }}
170178
if: github.event_name == 'release' && matrix.architecture != 'x86_64'
171179
- uses: ./.github/actions/setup-rust
180+
with:
181+
version: nightly
172182
- run: sed 's/%arch%/${{ matrix.architecture }}/g' .github/workflows/musllinux_build.sh | sed 's/%for_each_version%/${{ github.event_name == 'release' || '' }}/g' > .github/workflows/musllinux_build_script.sh
173183
- run: docker run -v "$(pwd)":/workdir --platform linux/${{ matrix.architecture }} quay.io/pypa/musllinux_1_2_${{ matrix.architecture }} /bin/bash /workdir/.github/workflows/musllinux_build_script.sh
174184
if: github.event_name == 'release' || matrix.architecture == 'x86_64'
@@ -191,9 +201,11 @@ jobs:
191201
- uses: ./.github/actions/setup-rust
192202
with:
193203
target: aarch64-apple-darwin
204+
version: nightly
194205
- uses: ./.github/actions/setup-rust
195206
with:
196207
target: x86_64-apple-darwin
208+
version: nightly
197209
- uses: actions/setup-python@v5
198210
with:
199211
python-version: "3.12"
@@ -224,6 +236,8 @@ jobs:
224236
with:
225237
submodules: true
226238
- uses: ./.github/actions/setup-rust
239+
with:
240+
version: nightly
227241
- uses: actions/setup-python@v4
228242
with:
229243
python-version: "3.12"

0 commit comments

Comments
 (0)