Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Upload Python Package | |
| on: | |
| release: | |
| types: published | |
| permissions: {} | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: dsaltares/fetch-gh-release-asset@aa2ab1243d6e0d5b405b973c89fa4d06a2d0fff7 # 1.1.2 | |
| with: | |
| version: tags/${{ github.event.release.tag_name }} | |
| # This next line is *not* a bash filename expansion - it's a regex. | |
| # We need to match all files that start with std-nslog or | |
| # std_nslog, but not the "Source code" zip and tarball. | |
| file: std.* | |
| regex: true | |
| target: dist/ | |
| - name: Publish release to production PyPI | |
| uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1 |