From 5cae5360b67c13e04f5edf7659bbfbcc82993524 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:35:32 -0500 Subject: [PATCH] Fix Workflow --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6a845b0..52a5b686 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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