Skip to content

Commit

Permalink
prepare gh workflows for zig release
Browse files Browse the repository at this point in the history
  • Loading branch information
renerocksai committed Apr 21, 2024
1 parent 4c7e4f4 commit 50017aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 55 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Works with Zig 0.11.0
name: Works with Zig 0.12.0
on:
push:
branches:
Expand All @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
version: 0.12.0
- name: Check zig version
run: zig version
- name: Build all examples
Expand Down
47 changes: 0 additions & 47 deletions .github/workflows/mastercheck-localhost.yml

This file was deleted.

11 changes: 5 additions & 6 deletions .github/workflows/mastercheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Works with Zig master
on:
push:
branches:
- zig-0.12.0
- zig-0.13.0
pull_request:
branches:
- zig-0.12.0
- zig-0.13.0
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
Expand Down Expand Up @@ -57,14 +57,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: ${{ steps.tag.outputs.version }}
run: |
zig-out/bin/announceybot update-readme "zig-0.12.0"
zig-out/bin/announceybot update-readme "zig-0.13.0"
- name: Commit and push if it has changed
run: |
git diff
git checkout zig-0.12.0
git checkout zig-0.13.0
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -am "Update README"
git push origin zig-0.12.0
>>>>>>> zig-0.12.0
git push origin zig-0.13.0

0 comments on commit 50017aa

Please sign in to comment.