mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
try to auto-update readme for zig-0.12.0
This commit is contained in:
parent
91babe6719
commit
c4a308bb98
1 changed files with 23 additions and 0 deletions
23
.github/workflows/mastercheck.yml
vendored
23
.github/workflows/mastercheck.yml
vendored
|
@ -36,3 +36,26 @@ jobs:
|
||||||
run: zig build test-authentication
|
run: zig build test-authentication
|
||||||
- name: Report end of tests
|
- name: Report end of tests
|
||||||
run: echo "tests finished"
|
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 "action@github.com"
|
||||||
|
git config --local user.name "GitHub Action"
|
||||||
|
git commit -am "Update README"
|
||||||
|
git push origin master
|
||||||
|
|
Loading…
Add table
Reference in a new issue