Skip to content

Commit 1a9e091

Browse files
authored
Merge pull request #211 from python-openapi/fix/workflows-fix
workflows fix
2 parents 2fe83b2 + 5697bd3 commit 1a9e091

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/build-docs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ jobs:
2020
id: full-python-version
2121
run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
2222

23-
- name: Bootstrap poetry
24-
run: |
25-
curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - -y
26-
echo "$HOME/.local/bin" >> $GITHUB_PATH
23+
- name: Set up poetry
24+
uses: Gr1N/setup-poetry@v8
2725

2826
- name: Configure poetry
2927
run: poetry config virtualenvs.in-project true

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88
release:
99
types:
10-
- created
10+
- published
1111

1212
jobs:
1313
docker:

0 commit comments

Comments
 (0)