This commit is contained in:
Chris Tsang
2023-09-16 19:38:07 +01:00
parent 1080c562ce
commit b04738fd18

View File

@@ -30,7 +30,7 @@ jobs:
# uses: PyO3/maturin-action@v1 # uses: PyO3/maturin-action@v1
# with: # with:
# target: ${{ matrix.target }} # target: ${{ matrix.target }}
# args: -m cmdapp/Cargo.toml --release --lib --features=python-binding --out dist --find-interpreter # args: -m cmdapp/Cargo.toml --release --features=python-binding --out dist --find-interpreter
# sccache: 'true' # sccache: 'true'
# manylinux: auto # manylinux: auto
# - name: Upload wheels # - name: Upload wheels
@@ -54,7 +54,7 @@ jobs:
uses: PyO3/maturin-action@v1 uses: PyO3/maturin-action@v1
with: with:
target: ${{ matrix.target }} target: ${{ matrix.target }}
args: -m cmdapp/Cargo.toml --release --lib --features=python-binding --out dist --find-interpreter args: -m cmdapp/Cargo.toml --release --features=python-binding --out dist --find-interpreter
sccache: 'true' sccache: 'true'
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
@@ -76,7 +76,7 @@ jobs:
uses: PyO3/maturin-action@v1 uses: PyO3/maturin-action@v1
with: with:
target: ${{ matrix.target }} target: ${{ matrix.target }}
args: -m cmdapp/Cargo.toml --release --lib --features=python-binding --out dist --find-interpreter args: -m cmdapp/Cargo.toml --release --features=python-binding --out dist --find-interpreter
sccache: 'true' sccache: 'true'
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
@@ -108,7 +108,7 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing # IMPORTANT: this permission is mandatory for trusted publishing
id-token: write id-token: write
if: "startsWith(github.ref, 'refs/tags/')" if: "startsWith(github.ref, 'refs/tags/')"
needs: [windows, macos, sdist] needs: [windows, macos, sdist] # linux
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with: