From 38b7b0de1716e91a2a369389c0881a2c76da15fe Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Sun, 20 Oct 2024 01:33:14 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d00ad3d..d26f64c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ on: push: branches: - main - workflow_dispatch: + - dev env: FORCE_COLOR: true GITHUB_TOKEN: ${{ secrets.ETOKEN }} @@ -67,12 +67,12 @@ jobs: rm release/*.map - name: Upload Equicord Stable - if: ${{ github.event_name == 'push' }} + if: ${{ github.ref_name == 'main' }} run: | gh release upload latest --clobber dist/release/* - name: Upload Equicord Dev - if: ${{ github.event_name == 'workflow_dispatch' }} + if: ${{ github.ref_name == 'dev' }} run: | gh release upload devbuild --clobber dist/release/*