Skip to content

Commit

Permalink
Update save-cache and restore-cache actions 11/06/2024 | 24w45a3
Browse files Browse the repository at this point in the history
  • Loading branch information
GamesTrap committed Nov 7, 2024
1 parent 9035d6d commit 2841e17
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ jobs:
git remote add origin ${{ secrets.GIT_NDA_DEPS }}/${{ secrets.GIT_NDA_DEPS_STEAMWORKSSDK }}
git pull origin main
cd ../..
- name: Retrieve keys for cache
env:
artifact_hostname: ${{secrets.ARTIFACT_HOST}}
if: env.artifact_hostname != null
id: cache-keys
run: |
echo "Box2D=$(git -C Dependencies/Box2D rev-parse HEAD)_Release" >> "$GITHUB_OUTPUT"
- name: Restore Box2D cache (TrappedGames)
env:
artifact_hostname: ${{secrets.ARTIFACT_HOST}}
Expand All @@ -70,7 +77,7 @@ jobs:
server-share: "artifacts"
server-username: ${{ secrets.ARTIFACT_USERNAME }}
server-password: ${{ secrets.ARTIFACT_PASSWORD }}
key: "$(git -C Dependencies/Box2D rev-parse HEAD)_Release"
key: ${{steps.cache-keys.outputs.Box2D}}
folder-path: >
bin/Release-linux-x86_64/./Dependencies/Box2D
- name: Add toolchain ppa
Expand Down Expand Up @@ -110,7 +117,7 @@ jobs:
server-share: "artifacts"
server-username: ${{ secrets.ARTIFACT_USERNAME }}
server-password: ${{ secrets.ARTIFACT_PASSWORD }}
key: "$(git -C Dependencies/Box2D rev-parse HEAD)_Release"
key: ${{steps.cache-keys.outputs.Box2D}}
folder-path: >
bin/Release-linux-x86_64/Dependencies/Box2D
- name: Finalize data for artifact
Expand Down

0 comments on commit 2841e17

Please sign in to comment.