Skip to content

Commit

Permalink
github actions に cache を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
nrysk committed Nov 7, 2024
1 parent 979cd9b commit efcc925
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 9 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efcc925

Please sign in to comment.