From 6983364910123fe943144e50349c67c8b8e105aa Mon Sep 17 00:00:00 2001 From: Julio MATARRANZ Date: Wed, 15 May 2024 20:49:26 +0200 Subject: [PATCH] feat: add build on dev branch and restrict prerelease to dev branch --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 91f1c24..6a9ce88 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - dev jobs: build: @@ -38,6 +39,7 @@ jobs: prerelease: needs: build runs-on: ubuntu-latest + if: github.ref == 'refs/heads/dev' steps: - name: Download binaries uses: actions/download-artifact@v4