Skip to content

Commit 234e108

Browse files
committed
Add pull request paths for backend and ethernet-view workflows
1 parent 49699fa commit 234e108

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/build-backend.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
SECRET:
77
required: true
88
workflow_dispatch:
9+
pull_request:
10+
paths:
11+
- backend/**
912

1013
env:
1114
SECRET: ${{ secrets.SECRET }}
@@ -53,6 +56,7 @@ jobs:
5356
with:
5457
name: backend-linux
5558
path: "${{env.BACKEND_DIR}}/output/*"
59+
retention-days: 3
5660

5761
build-backend-windows:
5862
name: "Build backend for windows"
@@ -96,6 +100,7 @@ jobs:
96100
with:
97101
name: backend-windows
98102
path: "${{env.BACKEND_DIR}}\\output\\*"
103+
retention-days: 3
99104

100105
build-backend-mac:
101106
name: "Build backend for macOS"
@@ -148,3 +153,4 @@ jobs:
148153
with:
149154
name: backend-macos
150155
path: "${{env.BACKEND_DIR}}/output/*"
156+
retention-days: 3

.github/workflows/build-ethernet-view.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Build ethernet view
33
on:
44
workflow_call:
55
workflow_dispatch:
6+
pull_request:
7+
paths:
8+
- ethernet-view/**
9+
- common-front/**
610

711
jobs:
812
build-ethernet-view:
@@ -44,3 +48,4 @@ jobs:
4448
with:
4549
name: ethernet-view
4650
path: "${{env.FRONTEND_DIR}}/static/*"
51+
retention-days: 3

0 commit comments

Comments
 (0)