From efcc9250189f3273c2a34e3222eee4e3dd231024 Mon Sep 17 00:00:00 2001 From: ry05k2ulv Date: Thu, 7 Nov 2024 21:17:21 +0900 Subject: [PATCH] =?UTF-8?q?github=20actions=20=E3=81=AB=20cache=20?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/action.yml | 2 +- action.yml | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index cae61d2..2d0e5ee 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 - name: Generate Picture - uses: ry05k2ulv/grassland@main + uses: nrysk/c-planet@main with: github_username: ${{ github.repository_owner }} github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/action.yml b/action.yml index 17b6996..1c4a718 100644 --- a/action.yml +++ b/action.yml @@ -17,7 +17,15 @@ inputs: runs: using: "composite" steps: - - name: Install dependencies + - name: Cache Blender + id: cache-blender + uses: actions/cache@v4 + with: + path: blender-4.2.3-linux-x64 + key: ${{ runner.os }}-blender-4.2.3-linux-x64 + + - name: Install Blender + if: steps.cache-blender.outputs.cache-hit != 'true' run: | wget https://download.blender.org/release/Blender4.2/blender-4.2.3-linux-x64.tar.xz -q tar -xf blender-4.2.3-linux-x64.tar.xz