Skip to content

Commit

Permalink
Rename the main workflow script and add one that uploads to the PyPI …
Browse files Browse the repository at this point in the history
…(non-test).
  • Loading branch information
fjankowsk committed Aug 5, 2023
1 parent 0b75fc1 commit 42464fe
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
File renamed without changes.
23 changes: 23 additions & 0 deletions .github/workflows/upload-wheels-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Upload wheels PyPI
run-name: Upload platform wheels to PyPI
on:
workflow_call:

jobs:
Upload-Wheels:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/scatfit
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

steps:
- name: Download wheel artifacts
uses: actions/download-artifact@v3
with:
name: wheels
path: ./dist/
- name: Upload wheels to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 42464fe

Please sign in to comment.