Skip to content

Commit

Permalink
Support upload dists to release
Browse files Browse the repository at this point in the history
  • Loading branch information
Wh1isper committed Aug 16, 2023
1 parent 40542ac commit 8c8f361
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

permissions:
contents: read
contents: write

jobs:
deploy:
Expand All @@ -29,7 +29,14 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Upload dists to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*
file_glob: true
tag: ${{ github.ref }}
overwrite: true
# Build docker images
-
name: Set up QEMU
Expand Down

0 comments on commit 8c8f361

Please sign in to comment.