Skip to content

Commit 84c1458

Browse files
committed
Update release workflow
1 parent a0ccbd8 commit 84c1458

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ jobs:
1717
run: |
1818
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v1
20+
uses: actions/setup-python@v3
2121
with:
22-
python-version: 3.8
22+
python-version: "3.10"
2323
- name: Install and set up Poetry
2424
run: |
25-
curl -fsS -o install-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
26-
python install-poetry.py --preview -y
25+
curl -sL https://install.python-poetry.org | python - --preview -y
2726
2827
- name: Update PATH
2928
shell: bash
@@ -57,8 +56,7 @@ jobs:
5756
path: dist
5857
- name: Install and set up Poetry
5958
run: |
60-
curl -fsS -o install-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/install-poetry.py
61-
python install-poetry.py --preview -y
59+
curl -sL https://install.python-poetry.org | python - --preview -y
6260
6361
- name: Update PATH
6462
shell: bash

0 commit comments

Comments
 (0)