mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 13:40:06 +00:00
Update release workflow
This commit is contained in:
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -1,17 +1,13 @@
|
|||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
push:
|
||||||
workflows: ["Run Tests"]
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "v*"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
on-success:
|
on-success:
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -98,10 +94,10 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
- uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "dist/*.zip"
|
artifacts: "dist/*.zip"
|
||||||
generateReleaseNotes: true
|
generateReleaseNotes: true
|
||||||
|
|
||||||
- name: Purge jsdelivr cache
|
- name: Purge jsdelivr cache
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user