feat: add build on dev branch and restrict prerelease to dev branch
This commit is contained in:
parent
1798c45b82
commit
6983364910
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user