Skip to content

Commit

Permalink
Undo cache torchlight
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWold authored Dec 13, 2024
1 parent 5950f72 commit 7ef4827
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,11 @@ jobs:

- name: Setup dotnet-script
run: ${{ env.DOTNET_INSTALL_DIR }}\dotnet tool install -g dotnet-script

- name: Cache Torchlight
id: cache-torchlight
uses: actions/cache@v3
with:
path: ./node_modules/@torchlight-api
key: ${{ runner.os }}-torchlight-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-torchlight-


- name: Setup node
uses: actions/setup-node@v2

- name: Setup torchlight
if: ${{ steps.cache-torchlight.outputs.cache-hit != 'true' }}
run: npm i @torchlight-api/torchlight-cli

- name: Set dotnet path
Expand All @@ -63,3 +54,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output

0 comments on commit 7ef4827

Please sign in to comment.