Browse Source

Run build workflow only when src/** changes

sisyphus
JezerM 3 years ago
parent
commit
b387cbacec
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 15
      .github/workflows/build.yml

15
.github/workflows/build.yml

@ -1,12 +1,19 @@
name: Build Test
on: [push, pull_request]
on:
push:
paths:
- "src/**"
- ".github/workflows/build.yml"
- ".github/actions/build/action.yml"
pull_request:
workflow_dispatch:
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
-
-
name: Checkout local actions
uses: actions/checkout@v2
-
@ -17,11 +24,11 @@ jobs:
build-debian:
runs-on: ubuntu-latest
steps:
-
-
name: Checkout local actions
uses: actions/checkout@v2
-
name: Build web-greeter
uses: "./.github/actions/build"
with:
target-distro: debian
target-distro: debian

Loading…
Cancel
Save