-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
37 lines (30 loc) · 998 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
image:
- Ubuntu
environment:
PYPI_TOKEN:
secure: Ej5+0zxoEbzldGFB9gEbELMX4plBpRbeo8X0oCukfJGj7YL6NAGGP2dUhz+7VIxNHOwoOAQWLwRiaGaqiy9HKo3gVEc4HSD1ZHYQGSVUIGU3SESZwYLm7M+asyDlh4izHaGaZkT5aS9cqSsc+Cq8/ZBiWNcz6yreYC7mTsxrcuJ7c7d/THWOzW+FIMOTN2+04vBMnKGaeQpMSEXFBfacDwhy2W1Ye5Xc+SVXMXFtJcyUJikllLQzG4tbuMk9D6CRUd+KzxuVa3JMDXFwdaZTw6keAzNNHlIwbeZvrxoadho=
stack: python 3.8
install:
- git submodule init
- git submodule update
- python -m pip install build
build_script: python generate.py && python -m build
artifacts:
- path: "dist\\*"
deploy:
description: ""
provider: GitHub
auth_token:
secure: atWS2pKyihyRyTzMopS3FzlG+VT/r3fx5pk+7E2BwvyxdAGiSmH/pDXPBIPArdW0
artifact: /.*\.(whl|tar\.gz)/
draft: false
on:
branch: main
APPVEYOR_REPO_TAG: true
after_deploy:
- ps: |
if ($env:APPVEYOR_REPO_TAG -eq 'true')
{
python -m pip install twine
python -m twine upload -u __token__ -p ${env:PYPI_TOKEN} --skip-existing dist/*
}