0.4.7 #10
Workflow file for this run
This file contains 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 | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
# This permission is required for trusted publishing. | |
id-token: write | |
steps: | |
- uses: dsaltares/[email protected] | |
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 rubicon-objc or | |
# rubicon_objc, but not the "Source code" zip and tarball. | |
file: rubicon.* | |
regex: true | |
target: dist/ | |
- name: Publish release to production PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 |