From 7d3c57acec0dfbe8a7be5a6343301583d128ebfa Mon Sep 17 00:00:00 2001 From: Dan Korostelev Date: Wed, 21 Feb 2024 14:29:19 +0100 Subject: [PATCH] update github actions --- .github/workflows/build.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/test-unity.yml | 10 ++++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f03dad3..c237bf5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v3 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d48a470..854bf18 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v3 with: @@ -24,4 +24,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/_site \ No newline at end of file + publish_dir: docs/_site diff --git a/.github/workflows/test-unity.yml b/.github/workflows/test-unity.yml index ac9fcc6..ef3100a 100644 --- a/.github/workflows/test-unity.yml +++ b/.github/workflows/test-unity.yml @@ -7,14 +7,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: playground-unity/Library - key: playground-unity-Library + key: playground-unity-Library-${{ hashFiles('playground-unity/Assets/**', 'playground-unity/Packages/**', 'playground-unity/ProjectSettings/**') }} + restore-keys: | + playground-unity-Library- - - uses: game-ci/unity-test-runner@v2 + - uses: game-ci/unity-test-runner@v4 env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}