Skip to content

Commit

Permalink
Advanced test. main disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
JochenHeckl committed Feb 26, 2024
1 parent 47750d3 commit 004b293
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Actions

on: [push, pull_request, workflow_dispatch]
on: [workflow_dispatch]

jobs:
build:
Expand Down
24 changes: 23 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,31 @@ jobs:
os:
- ubuntu-latest
# - windows-latest
projectPath:
- ACSSandbox.Unity

runs-on: ${{ matrix.os }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v4

- name: Cache
uses: actions/cache@v3
with:
path: path: ${{ matrix.projectPath }}/Library
key:
Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-${{ hashFiles(matrix.projectPath) }}
restore-keys: |
Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}-
Library-${{ matrix.projectPath }}-
Library-
- name: Build server
uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: StandaloneLinux64

0 comments on commit 004b293

Please sign in to comment.