Skip to content

Commit

Permalink
Create python-publish-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WingZer0o authored Nov 24, 2024
1 parent 2334f34 commit 540d854
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/python-publish-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Upload Python Package

on:
push:
branches: [ "main" ]

jobs:
release-build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Install Deps
run: |
pip install -r requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TOKEN }}
run: |
maturin build --release
twine upload target/wheels/*

0 comments on commit 540d854

Please sign in to comment.