Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmstill committed Jun 16, 2024
1 parent 5cfb116 commit 8accd4a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.10.0
version: 0.13.0
- run: echo -n $GITHUB_REF_NAME > src/.version
- run: zig build
- run: echo "zig-out/bin" >> $GITHUB_PATH
- uses: charmbracelet/vhs-action@v1
with:
path: 'demo.tape'
path: "demo.tape"
- uses: actions/upload-artifact@v3
with:
name: demo-${{ github.ref_name }}.gif
Expand All @@ -32,16 +32,16 @@ jobs:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.10.0
version: 0.13.0
- run: echo -n $GITHUB_REF_NAME > src/.version
- run: zig build -Drelease-safe=true -Dtarget=${{ matrix.target }}-${{ matrix.os }}
- uses: actions/upload-artifact@v3
if: ${{ matrix.os != 'windows' }}
if: ${{ matrix.os != 'windows' }}
with:
name: clerk-${{ github.ref_name }}-${{ matrix.target }}-${{ matrix.os }}
path: zig-out/bin/clerk
- uses: actions/upload-artifact@v3
if: ${{ matrix.os == 'windows' }}
if: ${{ matrix.os == 'windows' }}
with:
name: clerk-${{ github.ref_name }}-${{ matrix.target }}-${{ matrix.os }}
path: zig-out/bin/clerk.exe
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.10.0
version: 0.13.0
- run: zig build -Dtarget=${{ matrix.target }}-${{ matrix.os }}
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.10.0
version: 0.13.0
- run: zig fmt --check src/*.zig

0 comments on commit 8accd4a

Please sign in to comment.