From 7f0d90f9ba577032afeb7073b1dd9b8e41ee0cb6 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sat, 19 Oct 2024 15:55:18 -0400 Subject: [PATCH] Devbuilds --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c8a7e8a..8d00ad3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,7 @@ on: push: branches: - main + workflow_dispatch: env: FORCE_COLOR: true GITHUB_TOKEN: ${{ secrets.ETOKEN }} @@ -30,7 +31,7 @@ jobs: run: pnpm buildWebStandalone - name: Build - run: pnpm build --standalone + run: pnpm buildStandalone - name: Generate plugin list run: pnpm generatePluginJson dist/plugins.json dist/plugin-readmes.json @@ -65,10 +66,16 @@ jobs: rm release/package.json rm release/*.map - - name: Upload Equicord + - name: Upload Equicord Stable + if: ${{ github.event_name == 'push' }} run: | gh release upload latest --clobber dist/release/* + - name: Upload Equicord Dev + if: ${{ github.event_name == 'workflow_dispatch' }} + run: | + gh release upload devbuild --clobber dist/release/* + - name: Upload Plugins JSON to Equibored repo run: | git config --global user.name "$USERNAME"