feat: add build on dev branch and restrict prerelease to dev branch

This commit is contained in:
Julio MATARRANZ 2024-05-15 20:49:26 +02:00 committed by GitHub
parent 1798c45b82
commit 6983364910
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- master - master
- dev
jobs: jobs:
build: build:
@ -38,6 +39,7 @@ jobs:
prerelease: prerelease:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev'
steps: steps:
- name: Download binaries - name: Download binaries
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4