Skip to content

0.4.8

0.4.8 #15

Workflow file for this run

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
strategy:
# One element of this matrix failing should not terminate the others mid-run.
# This prevents one bad platform from stalling the publication of others.
fail-fast: false
matrix:
package:
- "toga"
- "toga_android"
- "toga_cocoa"
- "toga_core"
- "toga_demo"
- "toga_dummy"
- "toga_gtk"
- "toga_textual"
- "toga_iOS"
- "toga_web"
- "toga_winforms"
steps:
- name: Get packages
uses: dsaltares/[email protected]
with:
version: tags/${{ github.event.release.tag_name }}
file: ${{ github.event.repository.name }}.*
regex: true
target: packages/
- name: Extract ${{ matrix.package }}
run: |
mkdir dist
mv packages/$(echo ${{ matrix.package }} | sed 's/_/?/')-[0-9]* dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1