Skip to content

Commit e079ab7

Browse files
christianrauchchristian-rauch
authored andcommitted
release on tag with wheel files
1 parent ac14441 commit e079ab7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,21 @@ jobs:
167167
build_dir: ../www
168168
env:
169169
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
170+
171+
release:
172+
needs: build
173+
if: contains(needs.*.result, 'success') && contains(github.ref, '/tags/v')
174+
runs-on: ubuntu-latest
175+
steps:
176+
- name: download artifact
177+
uses: actions/download-artifact@v4
178+
with:
179+
pattern: pypangolin_wheel_*
180+
merge-multiple: true
181+
path: ./
182+
183+
- name: create release
184+
uses: ncipollo/release-action@v1
185+
with:
186+
artifacts: pypangolin-*.whl
187+
artifactErrorsFailBuild: true

0 commit comments

Comments
 (0)