👷 Update GitHub action

This commit is contained in:
Karako 2023-04-02 17:25:54 +08:00
parent 355aa23492
commit d9deb65261
No known key found for this signature in database
GPG Key ID: 5920831B0095D4A0

View File

@ -3,15 +3,12 @@ name: Publish Python package
on:
push:
tags:
- v*
- "v*"
release:
types: [ published ]
# Manual triggers with workflow_dispatch
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest