File tree Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Original file line number Diff line number Diff line change 7
7
- master
8
8
9
9
jobs :
10
+ tests :
11
+ uses : ./.github/workflows/tests.yml
12
+
10
13
release :
11
14
runs-on : ubuntu-22.04
15
+ needs : tests
12
16
steps :
13
- # - uses: actions/checkout@v4
14
- # - uses: actions/setup-python@v4
15
- # with:
16
- # python-version: "3.12"
17
- # - name: Install Poetry
18
- # uses: abatilo/actions-poetry@v2
19
- # - name: Setup a local virtual environment
20
- # run: |
21
- # poetry config virtualenvs.create true --local
22
- # poetry config virtualenvs.in-project true --local
23
- # - uses: actions/cache@v3
24
- # name: Define a cache for the virtual environment based on the dependencies lock file
25
- # with:
26
- # path: ./.venv
27
- # key: venv-${{ hashFiles('poetry.lock') }}
28
- # - name: Install dependencies
29
- # run: poetry install
30
- # - name: Configure poetry for publishing
31
- # run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
32
- # - name: Publish package to PyPI
33
- # run: poetry publish --build
34
- - uses : actions/checkout@v4
35
- - uses : ./.github/workflows/tests.yml
36
- with :
37
- python-version : " 3.12"
38
17
- name : Configure poetry for publishing
39
18
run : poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
40
19
- name : Publish package to PyPI
You can’t perform that action at this time.
0 commit comments