From 7e225b60a161869f8f8303351326c66bc998a9cf Mon Sep 17 00:00:00 2001 From: Loris Cro Date: Thu, 25 Jul 2024 21:52:20 +0200 Subject: [PATCH] update deploy script --- .github/workflows/gh-pages.yml | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index a9b8e32..14ebb48 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -6,26 +6,17 @@ on: - main # Set a branch to deploy jobs: deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Change if you need git info - name: Setup Zig - uses: goto-bus-stop/setup-zig@v2 + uses: mlugg/setup-zig@v1 with: - version: 0.12.0-dev.3381+7057bffc1 - cache: true + version: 0.13.0 - - name: Restore cache - uses: actions/cache/restore@v3 - with: - path: | - ~/.cache/zig - zig-cache - key: zine-${{hashFiles('build.zig.zon')}} - - name: Build run: zig build --summary all @@ -36,10 +27,3 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./zig-out - - name: Save Cache - uses: actions/cache/save@v3 - with: - path: | - ~/.cache/zig - zig-cache - key: zine-${{hashFiles('build.zig.zon')}}