Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NiceneNerd committed Nov 6, 2022
1 parent 8f94e13 commit d6a9b6a
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
python -m venv venv
venv\Scripts\activate.ps1
python -m pip install --upgrade pip wheel setuptools
pip install twine mkdocs mkdocs-material
pip install twine mkdocs mkdocs-material maturin
- name: Generate webpack bundle
working-directory: .\bcml\assets
run: |
Expand All @@ -83,16 +83,13 @@ jobs:
run: |
venv\Scripts\activate.ps1
mkdocs build -d .\bcml\assets\help
# - uses: actions-rs/toolchain@v1
# name: Install Rust
# with:
# profile: minimal
# toolchain: nightly
# override: true
- uses: messense/maturin-action@v1
name: Publish with Maturin
- uses: actions-rs/toolchain@v1
name: Install Rust
with:
maturin-version: v0.12.20
command: publish
args: --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
rust-toolchain: nightly
profile: minimal
toolchain: nightly
override: true
- name: Publish with Maturin
run: |
venv\Scripts\activate.ps1
maturin publish --no-sdist -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} --skip-existing

0 comments on commit d6a9b6a

Please sign in to comment.