Skip to content

Commit

Permalink
Github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
stub42 committed Feb 2, 2024
1 parent 3680953 commit fb43f95
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish
on:
push:
tags:
- 'release_*'
tags:
- 'release_*'
workflow_dispatch: {}

jobs:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
needs: ['build']
environment: 'publish'

name: upload release to PyPI
name: Upload release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
Expand All @@ -58,5 +58,16 @@ jobs:
with:
packages-dir: artifact/

gh-publish:
needs: ['build']
environment: 'ghpublish'

name: Upload release to Github
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v3
- name: Github Release
uses: softprops/action-gh-release@v1
with:
files: artifact/*

0 comments on commit fb43f95

Please sign in to comment.