Skip to content

Commit

Permalink
Added premake5 caching to GH Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Goubermouche authored Dec 17, 2023
1 parent dec463b commit 8dddd0f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Cache Premake
id: cache-premake
uses: actions/cache@v2
with:
path: |
premake5
key: ${{ runner.os }}-premake-${{ hashFiles('**/premake5.lua') }}

- name: Install Premake
if: steps.cache-premake.outputs.cache-hit != 'true'
run: |
wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha16/premake-5.0.0-alpha16-linux.tar.gz
tar -xzvf premake-5.0.0-alpha16-linux.tar.gz
Expand Down

0 comments on commit 8dddd0f

Please sign in to comment.