This repository was archived by the owner on Mar 9, 2023. It is now read-only.
File tree 4 files changed +101
-10
lines changed 4 files changed +101
-10
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload Python Package for macOS
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ deploy :
9
+
10
+ runs-on : ${{ matrix.os }}
11
+
12
+ strategy :
13
+ matrix :
14
+ os : [macos-latest]
15
+ architecture : [x64]
16
+ python-version : [3.6, 3.7, 3.8]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v2
22
+ with :
23
+ architecture : ${{ matrix.architecture }}
24
+ python-version : ${{ matrix.python-version }}
25
+ - name : Install dependencies
26
+ run : |
27
+ python -m pip install --upgrade pip
28
+ pip install setuptools wheel twine
29
+ - name : Build and publish
30
+ env :
31
+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
32
+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
33
+ run : |
34
+ python setup.py bdist_wheel
35
+ twine upload dist/*
Original file line number Diff line number Diff line change
1
+ name : Upload Python Package for Windows
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ deploy :
9
+
10
+ runs-on : ${{ matrix.os }}
11
+
12
+ strategy :
13
+ matrix :
14
+ os : [windows-latest]
15
+ architecture : [x64, x86]
16
+ python-version : [3.6, 3.7, 3.8]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v2
22
+ with :
23
+ architecture : ${{ matrix.architecture }}
24
+ python-version : ${{ matrix.python-version }}
25
+ - name : Install dependencies
26
+ run : |
27
+ python -m pip install --upgrade pip
28
+ pip install setuptools wheel twine
29
+ - name : Build and publish
30
+ env :
31
+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
32
+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
33
+ run : |
34
+ python setup.py bdist_wheel
35
+ twine upload dist/*
Original file line number Diff line number Diff line change
1
+ # This workflows will upload a Python Package using Twine when a release is created
2
+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
+
4
+ name : Upload Python Package
5
+
6
+ on :
7
+ release :
8
+ types : [created]
9
+
10
+ jobs :
11
+ deploy :
12
+
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Set up Python
18
+ uses : actions/setup-python@v2
19
+ with :
20
+ python-version : ' 3.x'
21
+ - name : Install dependencies
22
+ run : |
23
+ python -m pip install --upgrade pip
24
+ pip install setuptools wheel twine
25
+ - name : Build and publish
26
+ env :
27
+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
28
+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
29
+ run : |
30
+ python setup.py sdist bdist_wheel
31
+ twine upload dist/*
Original file line number Diff line number Diff line change @@ -12,13 +12,3 @@ before_script:
12
12
script :
13
13
- ./scripts/format.sh
14
14
- python -m unittest discover tests
15
- deploy :
16
- provider : pypi
17
- user : worksapplications
18
- password :
19
- secure : " desRZ1KuHoE7asLE2dXsVUB0iqhIsFIkawQjwcUcc14WybRhE1M4K2yRCoVmoizF6EPb50dh1qRChCm1lHKJZKA29s1SxN7xuzN+b1V2yhAcKvix/267O/1pQvb+vB6wTQIojksiG9QPJNRs75wvM0Rz+5/G6wX+WNQovkKODrE7F1gsyW2kvaw194Fc4jLX5GkKbiSpSlqthWja/YcdSkz/xnHP1fH7NEYdOXWTJ2vBmXgKJegsA9+S/GAhezSfurRkcLvijzwZtLfnlso3ToSRVFmn0NaZHK79+eUb4ub/8ojMFQih6/JCyV7StI3nOUgVV13XKvQ65po6XSs2NBydK3VIDVrvvAOw/89EKjB9nKhwxQLPRyCIke+XGPZdvQEEJlMTZjJGWOpYdkX0uBZhGMCTyxzddNeDo9aH2adOw/IywmTB8axd1J+SHfZFnxJNhe+0UEBV1GF87+W49Ks1jmT1QrElqXs65t2T4AMaQCrwkCYtZfiFUGXaoDr6hpaJFNaa8/1i6u9yhWJTTbsvSK1xhxNqb9BCxC3BjCg6tOGeMnhDGxU8xt10i9IrkZHhjiQzQiuzE6K3MAvbE3Y2wPslYuvxwGtsHHtfQ4LIOTu3tl9A+ay1adamolBGh8nTmyaaPIoONRRdFuEW2/W6q8CvWtAYn8lxyQNFdnw="
20
- distributions : sdist
21
- skip_cleanup : true
22
- skip_existing : true
23
- on :
24
- tags : true
You can’t perform that action at this time.
0 commit comments