Skip to content

Commit

Permalink
Merge pull request #410 from simontorres/fix_ci
Browse files Browse the repository at this point in the history
Change action version and trigger action
  • Loading branch information
simontorres authored Jul 18, 2024
2 parents 47a8fdd + eeee3a3 commit 288fd4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload to PYPI
on:
release:
types: [created]
on: push

jobs:
release-build:
Expand All @@ -22,7 +20,7 @@ jobs:
- name: Build a binary wheel and source tarball
run: python3 -m build
- name: Upload artifacts
uses: actions/upload-artifacts@v4
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/
Expand All @@ -33,7 +31,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
needs:
- release-build
permission:
permissions:
id-token: write

steps:
Expand Down

0 comments on commit 288fd4c

Please sign in to comment.