We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00db7b9 commit a6f7c8aCopy full SHA for a6f7c8a
.github/workflows/create_release.yaml
@@ -7,7 +7,10 @@ env:
7
python: 3.11
8
9
jobs:
10
- build:
+ test:
11
+ uses: ./.github/workflows/tests.yaml
12
+ release:
13
+ needs: test
14
runs-on: ubuntu-latest
15
steps:
16
- uses: actions/checkout@v2
@@ -19,7 +22,7 @@ jobs:
19
22
run: |
20
23
python -m pip install --upgrade pip
21
24
python -m pip install --upgrade setuptools
- - name: Get version using setuptools and save as variable use newer syntax
25
+ - name: Get version using setuptools
26
id: get_version
27
28
echo ::set-output name=version::$(python setup.py --version)
@@ -28,5 +31,7 @@ jobs:
31
with:
29
32
tag: v${{ steps.get_version.outputs.version }}
30
33
token: ${{ secrets.GITHUB_TOKEN }}
-
34
+ publish:
35
+ needs: release
36
+ uses: ./.github/workflows/pypi.yaml
37
0 commit comments