Skip to content

Bump whoami from 1.4.1 to 1.5.0 #33

Bump whoami from 1.4.1 to 1.5.0

Bump whoami from 1.4.1 to 1.5.0 #33

name: Create Python release windows macos
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Create Release
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["macos-latest", "windows-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Install latest Rust nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install maturin
- name: Maturin publish
shell: bash
env:
MATURIN_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
rustup override set nightly
export RUSTFLAGS='-C target-feature=+fxsr,+sse,+sse2,+sse3,+sse4.1,+sse4.2'
maturin publish \
--no-sdist \
--skip-existing \
-o wheels \
-i python \
--username __token__ \