mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-06 04:32:43 +00:00
👷 setup Github actions
This commit is contained in:
27
.github/workflows/pypi.yml
vendored
Normal file
27
.github/workflows/pypi.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: pypi
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- master
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||||
jobs:
|
||||
deploy-cpu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Package sdist
|
||||
run: make build
|
||||
- name: Deploy to pypi
|
||||
run: make deploy
|
||||
deploy-gpu:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Package sdist
|
||||
run: make build-gpu
|
||||
- name: Deploy to pypi
|
||||
run: make deploy
|
||||
Reference in New Issue
Block a user