From fdd52eda0a3cd1ce186edc0a30e16070c42913b3 Mon Sep 17 00:00:00 2001 From: Ian Wold Date: Fri, 13 Dec 2024 08:10:09 -0600 Subject: [PATCH 1/3] Try caching torchlight --- .github/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1b5820..e795bfe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,11 +31,20 @@ 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 @@ -54,4 +63,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./output - From 5950f72b98d37a3512d369de8fb212e8598aaec4 Mon Sep 17 00:00:00 2001 From: Ian Wold Date: Fri, 13 Dec 2024 08:15:19 -0600 Subject: [PATCH 2/3] Update README.md --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 73c6f88..2dfba84 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,3 @@ My personal website. Generated with [Metalsharp](https://github.com/ianwold/metalsharp). -This website is a bit of a "beta-run" for Metalsharp. - -Recently added to the [512kb Club](https://512kb.club/) From 7ef48276c99214981880f4f3aaef524c23bb2e05 Mon Sep 17 00:00:00 2001 From: Ian Wold Date: Fri, 13 Dec 2024 08:19:11 -0600 Subject: [PATCH 3/3] Undo cache torchlight --- .github/workflows/build.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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 +