make pipeline only run on main branch
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
29ad130193
commit
4b94c7799f
|
@ -1,12 +1,20 @@
|
|||
pipeline:
|
||||
setup:
|
||||
image: ivangabriele/tauri:bullseye-node18
|
||||
when:
|
||||
event: [push, pull_request, tag]
|
||||
branch: main
|
||||
commands:
|
||||
- npm i -D @tauri-apps/cli
|
||||
build:
|
||||
image: ivangabriele/tauri:bullseye-node18
|
||||
when:
|
||||
event: [push, pull_request, tag]
|
||||
branch: main
|
||||
commands:
|
||||
- apt install libasound2-dev
|
||||
- npm ci
|
||||
- npm run tauri build -b
|
||||
- npm run tauri build
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue