Skip to content

Commit

Permalink
working on gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoff-it committed Feb 12, 2024
1 parent 9ce4acf commit 572aeac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ jobs:
uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0-dev.2701+d18f52197

# - id: get-cache
# name: Get Global Cache Location
# run: echo "path=$(zig env | jq .global_cache_dir -r)" >> $GITHUB_OUTPUT
- name: Restore cache
uses: actions/cache/restore@v3
with:
path: zig-cache
path:|
~/.cache/zig
zig-cache
key: zine-${{hashFiles('build.zig.zon')}}

- name: Build
Expand All @@ -36,5 +40,7 @@ jobs:
- name: Save Cache
uses: actions/cache/save@v3
with:
path: zig-cache
path:|
~/.cache/zig
zig-cache
key: zine-${{hashFiles('build.zig.zon')}}
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.{
.name = "Zine Official Website",
.version = "0.0.0",
.version = "0.0.1",
.dependencies = .{
.zine = .{
.url = "git+https://github.com/kristoff-it/zine.git#beb5434a04fad660ecf8db8379532dfe5b5e13b0",
Expand Down

0 comments on commit 572aeac

Please sign in to comment.