Modify scope and synchronise workflows
This commit is contained in:
parent
ffabc563e8
commit
27845d8188
2 changed files with 7 additions and 1 deletions
|
@ -2,6 +2,8 @@ name: Build
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
@ -43,6 +45,8 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Install toolchain
|
||||
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
- name: Set up environment
|
||||
run: git config --global --add safe.directory '*'
|
||||
- name: Build pacwrap
|
||||
run: ./dist/tools/prepare.sh release && cargo build --release && ./dist/tools/package.sh release
|
||||
- name: Lint pacwrap
|
||||
|
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -5,7 +5,9 @@ on:
|
|||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
branches:
|
||||
- ready_for_review
|
||||
- synchronize
|
||||
branches:
|
||||
- master
|
||||
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue