File tree Expand file tree Collapse file tree 1 file changed +40
-40
lines changed
Expand file tree Collapse file tree 1 file changed +40
-40
lines changed Original file line number Diff line number Diff line change 1- # name: Publish Package
2-
3- # on:
4- # push:
5- # tags:
6- # - 'v*'
7-
8- # jobs:
9- # test:
10- # uses: ./.github/workflows/test.yml
11-
12- # build:
13- # needs: test
14- # uses: ./.github/workflows/build.yml
15-
16- # publish:
17- # needs: build
18- # runs-on: ubuntu-latest
19-
20- # steps:
21- # - uses: actions/checkout@v4
22-
23- # - name: Set up Python
24- # uses: actions/setup-python@v5
25- # with:
26- # python-version: '3.9'
27-
28- # - name: Install Poetry
29- # uses: abatilo/actions-poetry@v4
30- # with:
31- # poetry-version: latest
32-
33- # - name: Setup virtualenv
34- # run: |
35- # poetry config virtualenvs.create true --local
36- # poetry config virtualenvs.in-project true --local
37-
38- # - name: Configure Poetry
39- # run: |
40- # poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
1+ name : Publish Package
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ test :
10+ uses : ./.github/workflows/test.yml
11+
12+ build :
13+ needs : test
14+ uses : ./.github/workflows/build.yml
15+
16+ publish :
17+ needs : build
18+ runs-on : ubuntu-latest
19+
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - name : Set up Python
24+ uses : actions/setup-python@v5
25+ with :
26+ python-version : ' 3.9'
27+
28+ - name : Install Poetry
29+ uses : abatilo/actions-poetry@v4
30+ with :
31+ poetry-version : latest
32+
33+ - name : Setup virtualenv
34+ run : |
35+ poetry config virtualenvs.create true --local
36+ poetry config virtualenvs.in-project true --local
37+
38+ - name : Configure Poetry
39+ run : |
40+ poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
4141
4242# - name: Download artifact
4343# uses: actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments