Skip to content

Commit 86576f0

Browse files
committed
Fix CI release workflow
1 parent 8b5e123 commit 86576f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
target: ${{ matrix.target }}
9494
manylinux: ${{ matrix.manylinux || 'auto' }}
9595
container: ${{ matrix.container }}
96+
docker-options: -e CI
9697
- name: Upload wheels
9798
uses: actions/upload-artifact@v3
9899
with:
@@ -123,7 +124,8 @@ jobs:
123124
- uses: actions/setup-python@v5
124125
with:
125126
python-version: ${{ matrix.interpreter }}
126-
- uses: dtolnay/rust-toolchain@stable
127+
# FIXME: set to @stable once PyO3/maturin-action filters `CARGO_HOME`
128+
- uses: dtolnay/rust-toolchain@bb45937
127129
with:
128130
components: llvm-tools
129131
- name: Build initial wheel
@@ -134,6 +136,7 @@ jobs:
134136
command: build
135137
args: --release --out pgo_wheel --interpreter ${{ matrix.interpreter }}
136138
manylinux: ${{ matrix.manylinux || 'auto' }}
139+
docker-options: -e CI
137140
env:
138141
RUSTFLAGS: "-Cprofile-generate=${{ github.workspace }}/profdata"
139142
- run: |
@@ -156,6 +159,7 @@ jobs:
156159
args: --release --out dist --interpreter ${{ matrix.interpreter }}
157160
manylinux: ${{ matrix.manylinux || 'auto' }}
158161
rust-toolchain: stable
162+
docker-options: -e CI
159163
env:
160164
RUSTFLAGS: "-Cprofile-use=${{ github.workspace }}/merged.profdata"
161165
- name: Upload wheels

0 commit comments

Comments
 (0)