mirror of
https://github.com/neodyland/sbv2-api.git
synced 2026-01-17 03:42:56 +00:00
fix
This commit is contained in:
8
.github/workflows/CI.yml
vendored
8
.github/workflows/CI.yml
vendored
@@ -115,8 +115,10 @@ jobs:
|
||||
name: Wheel Upload
|
||||
runs-on: ubuntu-latest
|
||||
needs: [python-linux, python-windows, python-macos, python-sdist]
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
- run: gh run download ${{github.run_id}} -n wheels-*/*
|
||||
- run: gh run download ${{ github.run_id }} -n wheels-*/*
|
||||
- name: release
|
||||
run: |
|
||||
gh release create commit-${GITHUB_SHA:0:8} --prerelease wheels-*/*
|
||||
@@ -127,8 +129,10 @@ jobs:
|
||||
if: "startsWith(github.ref, 'refs/tags/')"
|
||||
needs: [python-linux, python-windows, python-macos, python-sdist]
|
||||
environment: release
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
- run: gh run download ${{github.run_id}} -n wheels-*/*
|
||||
- run: gh run download ${{ github.run_id }} -n wheels-*/*
|
||||
- name: Publish to PyPI
|
||||
uses: PyO3/maturin-action@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user