From 4d9204af72523680b6715ba9ee9cbb32a5f685b1 Mon Sep 17 00:00:00 2001 From: Pantotone Date: Tue, 28 May 2024 05:35:29 -0300 Subject: [PATCH] chore: update github actions --- .github/workflows/build-Linux.yml | 8 ++++---- .github/workflows/build-Mac.yml | 8 ++++---- .github/workflows/build-Windows.yml | 10 +++++----- .github/workflows/cache-unity-windows.yml | 8 +++----- 4 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build-Linux.yml b/.github/workflows/build-Linux.yml index 5c14167..f45136c 100644 --- a/.github/workflows/build-Linux.yml +++ b/.github/workflows/build-Linux.yml @@ -124,14 +124,14 @@ jobs: - if: ${{ inputs.customCoreRepository == true }} name: "[Pre-install] Pull YARG.Core" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ env.coreRepositoryAuthor }}/${{ env.coreRepositoryName }} ref: ${{ env.coreRepositoryBranch }} path: YARG.Core - name: "[Pre-install] Pull bleeding-edge repository" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ github.repository }} path: bleedingedge @@ -141,7 +141,7 @@ jobs: ############################# - name: "[Pre-install] Restore 'library' cache" - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Library key: ${{ env.platform }}-YARG_Library @@ -162,7 +162,7 @@ jobs: - name: "[Pre-install] Get Blender (${{ env.blenderVersion }}) from cache" id: blender - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ runner.temp }}/BlenderInstall key: Linux_Blender-${{ env.blenderVersion }} diff --git a/.github/workflows/build-Mac.yml b/.github/workflows/build-Mac.yml index e1c2cef..c38a98c 100644 --- a/.github/workflows/build-Mac.yml +++ b/.github/workflows/build-Mac.yml @@ -91,14 +91,14 @@ jobs: - if: ${{ inputs.customCoreRepository == true }} name: "[Pre-install] Pull YARG.Core" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ env.coreRepositoryAuthor }}/${{ env.coreRepositoryName }} ref: ${{ env.coreRepositoryBranch }} path: YARG.Core - name: "[Pre-install] Pull bleeding-edge repository" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ github.repository }} path: bleedingedge @@ -108,7 +108,7 @@ jobs: ############################# - name: "[Pre-install] Restore 'library' cache" - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Library key: ${{ env.platform }}-YARG_Library @@ -129,7 +129,7 @@ jobs: - name: "[Pre-install] Get Blender (${{ env.blenderVersion }}) from cache" id: blender - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ runner.temp }}/BlenderInstall key: Mac_Blender-${{ env.blenderVersion }} diff --git a/.github/workflows/build-Windows.yml b/.github/workflows/build-Windows.yml index f4d2d65..6a22c24 100644 --- a/.github/workflows/build-Windows.yml +++ b/.github/workflows/build-Windows.yml @@ -81,7 +81,7 @@ jobs: - name: "[Install] Get Unity Editor + Windows IL2CPP builder (${{ env.unityVersion }}) pre-installed from cache" id: unity-install - uses: actions/cache@v3.2.2 + uses: actions/cache@v4 with: path: ${{ runner.temp }}/Unity key: Windows_Unity-${{ env.unityVersion }} @@ -118,14 +118,14 @@ jobs: - if: ${{ inputs.customCoreRepository == true }} name: "[Pre-install] Pull YARG.Core" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ env.coreRepositoryAuthor }}/${{ env.coreRepositoryName }} ref: ${{ env.coreRepositoryBranch }} path: YARG.Core - name: "[Pre-install] Pull bleeding-edge repository" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ github.repository }} path: bleedingedge @@ -135,7 +135,7 @@ jobs: ############################# - name: "[Pre-install] Restore 'library' cache" - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: Library key: ${{ env.platform }}-YARG_Library @@ -156,7 +156,7 @@ jobs: - name: "[Pre-install] Get Blender (${{ env.blenderVersion }}) from cache" id: blender - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ runner.temp }}/BlenderInstall key: Windows_Blender-${{ env.blenderVersion }} diff --git a/.github/workflows/cache-unity-windows.yml b/.github/workflows/cache-unity-windows.yml index bf0c66b..bc7a6b5 100644 --- a/.github/workflows/cache-unity-windows.yml +++ b/.github/workflows/cache-unity-windows.yml @@ -1,4 +1,4 @@ -name: 📦 Cache Unity for Windows +name: 📦 Cache Unity 2021.3.36f1 for Windows on: workflow_dispatch: @@ -7,18 +7,16 @@ env: unityVersion: "2021.3.36f1" unityVersionHash: "7a0645017be0" -run-name: 📦 Cache Unity ${{ env.unityVersion }} for Windows - jobs: cacheUnity: - name: Cache Unity ${{ env.unityVersion }} for Windows + name: 📦 Cache Unity 2021.3.36f1 for Windows runs-on: windows-2019 timeout-minutes: 90 steps: - name: "Get Unity Editor + Windows IL2CPP builder (${{ env.unityVersion }}) pre-installed from cache" id: unity-install - uses: actions/cache@v3.2.2 + uses: actions/cache@v4 with: path: ${{ runner.temp }}/Unity key: Windows_Unity-${{ env.unityVersion }}