FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
flows-tools/.github/workflows/python-publish.yml at main · SNflows/flows-tools · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
SNflows
/
flows-tools
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
3
Code
Issues
3
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
flows-tools
/
.github
/
workflows
/
python-publish.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
40 lines (33 loc) · 907 Bytes
Breadcrumbs
flows-tools
/
.github
/
workflows
/
python-publish.yml
Copy path
File metadata and controls
40 lines (33 loc) · 907 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
38
39
40
#
This workflow will upload a Python Package using Flit when a release is created
name
:
Deploy Python Package to PyPi with Flit
on
:
release
:
types
:
[published]
#
Allows manual triggering from actions tab.
workflow_dispatch
:
permissions
:
contents
:
read
jobs
:
deploy
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Set up Python
uses
:
actions/setup-python@v3
with
:
python-version
:
'
3.10
'
cache
:
pip
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install build flit
shell
:
bash
-
name
:
Build package
run
:
flit build
-
name
:
deploy to PyPi with flit
run
:
flit publish
shell
:
bash
env
:
FLIT_USERNAME
:
'
__token__
'
FLIT_PASSWORD
:
${{ secrets.PYPI_TOKEN }}
FLIT_INDEX_URL
:
'
https://upload.pypi.org/legacy/
'
Back
|
FazBrowse Home
|
New Git URL