Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
naiba committed Nov 28, 2023
1 parent dc94259 commit 354bc7c
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: Release

on:
workflow_run:
workflows: ["Run Tests"]
types:
- completed
push:
tags:
- "v*"
workflow_dispatch:

jobs:
on-success:
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -98,10 +94,10 @@ jobs:
done
- name: Release
- uses: ncipollo/release-action@v1
with:
artifacts: "dist/*.zip"
generateReleaseNotes: true
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*.zip"
generateReleaseNotes: true

- name: Purge jsdelivr cache
run: |
Expand Down

0 comments on commit 354bc7c

Please sign in to comment.