diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 458fa707..64d08b02 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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