Skip to content

Commit

Permalink
Update to trigger conditions and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMurwin committed Nov 20, 2021
1 parent 50d1dd0 commit 5bad922
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/Builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@

name: Automated Builds
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '*.md'
release:
types: [published]
pull_request:
types: [opened, synchronize, reopened, edited]

Expand All @@ -26,24 +22,31 @@ jobs:
- StandaloneLinux64 # Build a Linux 64-bit standalone.
- WebGL # WebGL.
steps:
# First checkout the repo with both LFS and FetchDepth 0 for full commit
- name: Checkout Repo
uses: actions/checkout@v2
with:
fetch-depth: 0
lfs: true

# Cache project for future speed
- name: Cache Project Library for next Build
uses: actions/cache@v2
with:
path: NQueensSimulation/Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-

# Use GameCI to build project with TargetPlatform Matrix
- uses: game-ci/unity-builder@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
projectPath: NQueensSimulation
targetPlatform: ${{ matrix.targetPlatform }}
versioning: Semantic

# Upload Build Artifacts *for PR's*
- uses: actions/upload-artifact@v2
with:
name: Build-${{ matrix.targetPlatform }}
Expand Down

0 comments on commit 5bad922

Please sign in to comment.