Try reverting to old format we used with workflow for now.
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -1,7 +1,11 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
- push
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
10
.github/workflows/run.yml
vendored
10
.github/workflows/run.yml
vendored
@@ -1,12 +1,16 @@
|
|||||||
name: Run
|
name: Run
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
push:
|
||||||
workflows: ["Build"]
|
branches: [ master ]
|
||||||
types: [completed]
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
reuse_build:
|
||||||
|
uses: gamemann/XDP-Firewall/.github/workflows/build.yml@master
|
||||||
run:
|
run:
|
||||||
|
needs: reuse_build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user