Skip to content

Commit

Permalink
chore: only cache luarocks test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jun 11, 2024
1 parent d98dab8 commit 6820740
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ runs:
with:
path: |
~/.luarocks
.luarocks
key: ${{ runner.os }}-luarocks-${{ inputs.luarocks_version }}
restore-keys: |
${{ runner.os }}-luarocks-
Expand All @@ -47,16 +46,11 @@ runs:

- name: Setup LuaRocks
uses: hishamhm/gh-actions-luarocks@master
if: steps.cache-luarocks.outputs.cache-hit != 'true'
# FIXME: caching .luarocks doesn't set up the environment variables (PATH, LUA_PATH, ...) properly
# if: steps.cache-luarocks.outputs.cache-hit != 'true'
with:
luarocksVersion: ${{ inputs.luarocks_version }}

- name: DEBUG cache output
run: |
ls -a .luarocks
ls -a ~/.luarocks
shell: bash

- name: Install busted and nlua
if: steps.cache-luarocks.outputs.cache-hit != 'true'
run: |
Expand Down

0 comments on commit 6820740

Please sign in to comment.