Workflow Improvements (#69)
This PR attempts to run the XDP program for 10 seconds when running the `run.yml` workflow instead of printing the help menu.
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -1,18 +1,14 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_call:
|
||||
- push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Run apt update
|
||||
@@ -34,7 +30,7 @@ jobs:
|
||||
- name: Install project
|
||||
run: sudo make install
|
||||
- name: Store build artifacts
|
||||
uses: actions/upload-artifact@master
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-output
|
||||
path: build/loader/xdpfw
|
||||
path: build/
|
||||
|
||||
Reference in New Issue
Block a user