mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 14:13:01 -04:00
feat(build): add conditional release creation step in workflow
This commit is contained in:
parent
d71c580a25
commit
7a545ce83d
1 changed files with 5 additions and 0 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -65,6 +65,11 @@ jobs:
|
|||
rm release/package.json
|
||||
rm release/*.map
|
||||
|
||||
- name: Create Release (if not exists)
|
||||
if: ${{ github.ref_name == 'main' }}
|
||||
run: |
|
||||
gh release view latest || gh release create latest --title "Latest Release" --notes "Auto-generated release"
|
||||
|
||||
- name: Upload Equicord Stable
|
||||
if: ${{ github.ref_name == 'main' }}
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue