Skip to content

Commit

Permalink
Only build on push for certain paths. Fix upload artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
shana committed Aug 22, 2023
1 parent 0f97ea5 commit 07ac0a9
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: Build All

on: [push, workflow_dispatch]
on:
push:
paths:
- 'Facepunch.Steamworks/**'
- 'Facepunch.Steamworks.Test/**'
- '*.sln'
- 'global.json'
- '*.bat'

workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -38,5 +47,5 @@ jobs:

- uses: actions/upload-artifact@v1
with:
name: Compiled Files
path: Facepunch.Steamworks/bin
name: binaries
path: ./Facepunch.Steamworks/bin

0 comments on commit 07ac0a9

Please sign in to comment.