Skip to content

Commit

Permalink
Merge pull request #2 from YARC-Official/chore/update-github-actions
Browse files Browse the repository at this point in the history
chore: update github actions
  • Loading branch information
Pantotone authored May 28, 2024
2 parents 3b99c5f + 4d9204a commit b7422c6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-Linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -169,7 +169,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 }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-Mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -136,7 +136,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 }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -163,7 +163,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 }}
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/cache-unity-windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 📦 Cache Unity for Windows
name: 📦 Cache Unity 2021.3.36f1 for Windows

on:
workflow_dispatch:
Expand All @@ -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 }}
Expand Down

0 comments on commit b7422c6

Please sign in to comment.