diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e795bfe..b1b5820 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -63,3 +54,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./output +