diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index adb73fd..8ce5024 100644 --- a/.github/workflows/build.yml +++ b/.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 \ No newline at end of file + target-distro: debian