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/*