-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to auto-update readme for zig-0.12.0
- Loading branch information
1 parent
91babe6
commit c4a308b
Showing
1 changed file
with
23 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,26 @@ jobs: | |
run: zig build test-authentication | ||
- name: Report end of tests | ||
run: echo "tests finished" | ||
|
||
update-readme: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
contents: write | ||
|
||
steps: | ||
- name: Run script to update README | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
TAG_NAME: ${{ steps.tag.outputs.version }} | ||
run: | | ||
tools/announceybot.exe update-readme "zig-0.12.0" | ||
- name: Commit and push if it has changed | ||
run: | | ||
git diff | ||
git checkout zig-0.12.0 | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git commit -am "Update README" | ||
git push origin master |