Skip to content

Commit 07ac0a9

Browse files
committed
Only build on push for certain paths. Fix upload artifact name
1 parent 0f97ea5 commit 07ac0a9

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/dotnetcore.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Build All
22

3-
on: [push, workflow_dispatch]
3+
on:
4+
push:
5+
paths:
6+
- 'Facepunch.Steamworks/**'
7+
- 'Facepunch.Steamworks.Test/**'
8+
- '*.sln'
9+
- 'global.json'
10+
- '*.bat'
11+
12+
workflow_dispatch:
413

514
jobs:
615
build:
@@ -38,5 +47,5 @@ jobs:
3847

3948
- uses: actions/upload-artifact@v1
4049
with:
41-
name: Compiled Files
42-
path: Facepunch.Steamworks/bin
50+
name: binaries
51+
path: ./Facepunch.Steamworks/bin

0 commit comments

Comments
 (0)