Skip to content

Commit ca09e7c

Browse files
authored
Update publish.yml
1 parent 916c481 commit ca09e7c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- name: Set up Python
14-
uses: actions/setup-python@v1
14+
uses: actions/setup-python@v4
1515
with:
16-
python-version: "3.7"
16+
python-version: "3.9"
1717
- name: Install poetry
1818
run: |
1919
python -m pip install --upgrade pip
20-
python -m pip install "poetry>=1.2.0a1"
21-
python -m poetry plugin add poetry-version-plugin
20+
python -m pip install "poetry>=1.6.1"
21+
python -m poetry self add poetry-version-plugin
2222
- name: Configure poetry
2323
run: python -m poetry config virtualenvs.in-project true
2424
- name: Set up cache
@@ -37,4 +37,4 @@ jobs:
3737
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
3838
run: |
3939
python -m poetry config pypi-token.pypi $PYPI_TOKEN
40-
bash scripts/publish.sh
40+
bash scripts/publish.sh

0 commit comments

Comments
 (0)