File tree Expand file tree Collapse file tree 3 files changed +35
-4
lines changed Expand file tree Collapse file tree 3 files changed +35
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish new test release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *.*.*-test'
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-20.04
11
+ timeout-minutes : 10
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ - name : Install Python
16
+ uses : actions/setup-python@v4
17
+ with :
18
+ node-version : ' 3.10'
19
+ - name : Upgrade "pip"
20
+ run : python3 -m pip install --upgrade pip
21
+ - name : Upgrade "build"
22
+ run : python3 -m pip install --upgrade build
23
+ - name : Upgrade "twine"
24
+ run : python3 -m pip install --upgrade twine
25
+ - name : Build package
26
+ run : python3 -m build
27
+ - name : Publish package
28
+ run : python3 -m twine upload --repository testpypi -u $USER -p $PASS dist/*
29
+ env :
30
+ USER : ${{ secrets.TESTPYPI_USER }}
31
+ PASS : ${{ secrets.TESTPYPI_PASS }}
Original file line number Diff line number Diff line change 25
25
- name : Build package
26
26
run : python3 -m build
27
27
- name : Publish package
28
- run : python3 -m twine upload --repository testpypi -u $USER -p $PASS dist/*
28
+ run : python3 -m twine upload --repository pypi -u $USER -p $PASS dist/*
29
29
env :
30
- USER : ${{ secrets.TESTPYPI_USER }}
31
- PASS : ${{ secrets.TESTPYPI_PASS }}
30
+ USER : ${{ secrets.PYPI_USER }}
31
+ PASS : ${{ secrets.PYPI_PASS }}
Original file line number Diff line number Diff line change 23
23
with open ("README.md" , "r" ) as fh :
24
24
long_description = fh .read ()
25
25
26
- __version__ = "0.0.1 "
26
+ __version__ = "0.0.0 "
27
27
28
28
"""Perform the package airflow-provider-cube setup."""
29
29
setup (
You can’t perform that action at this time.
0 commit comments