1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-01 18:11:18 +08:00

rewrite deploy with macos

This commit is contained in:
Linlang
2024-12-19 23:54:28 +08:00
parent f10affe9ca
commit 0f0f49c860
2 changed files with 65 additions and 8 deletions

View File

@@ -3,15 +3,15 @@
name: Upload Python Package
# on:
# release:
# types: [published]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [published]
# on:
# push:
# branches: [ main ]
# pull_request:
# branches: [ main ]
jobs:
# deploy_with_windows:
@@ -169,6 +169,7 @@ jobs:
# run: |
# make build
- name: Build and publish
if: ${{ (matrix.os != 'macos-13' || matrix['python-version'] != '3.11') && (matrix.os != 'macos-13' || matrix['python-version'] != '3.12') }}
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TESTPYPI_TOKEN }}