-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prepare gh workflows for zig release
- Loading branch information
1 parent
4c7e4f4
commit 50017aa
Showing
3 changed files
with
7 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 |