mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fix Workflow
This commit is contained in:
parent
9221f0ff1e
commit
5cae5360b6
1 changed files with 8 additions and 1 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -3,6 +3,8 @@ on:
|
|||
push:
|
||||
tags:
|
||||
- v*
|
||||
branches:
|
||||
- main
|
||||
env:
|
||||
FORCE_COLOR: true
|
||||
GITHUB_TOKEN: ${{ secrets.ETOKEN }}
|
||||
|
@ -73,9 +75,14 @@ jobs:
|
|||
id: package-version
|
||||
uses: martinbeentjes/npm-get-version-action@v1.3.1
|
||||
|
||||
- name: Upload Equicord
|
||||
- name: Upload Equicord Tagged
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
gh release upload v${{ steps.package-version.outputs.current-version}} --clobber dist/release/*
|
||||
|
||||
- name: Upload Equicord Stable
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
gh release upload latest --clobber dist/release/*
|
||||
|
||||
- name: Upload Plugins JSON to Equibored repo
|
||||
|
|
Loading…
Reference in a new issue