Skip to content

Commit

Permalink
workflows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
p1c2u committed Jan 10, 2025
1 parent e67e4d3 commit ae4b89d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,23 @@ on:
workflow_dispatch:
release:
types:
- created
- published

jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

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

- name: Build
run: poetry build
Expand Down

0 comments on commit ae4b89d

Please sign in to comment.