mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
try to fix CI
This commit is contained in:
parent
c4a308bb98
commit
cb7abc3467
1 changed files with 16 additions and 14 deletions
30
.github/workflows/mastercheck.yml
vendored
30
.github/workflows/mastercheck.yml
vendored
|
@ -44,18 +44,20 @@ jobs:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Run script to update README
|
- uses: actions/checkout@v3
|
||||||
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
|
- name: Run script to update README
|
||||||
run: |
|
env:
|
||||||
git diff
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
git checkout zig-0.12.0
|
TAG_NAME: ${{ steps.tag.outputs.version }}
|
||||||
git config --local user.email "action@github.com"
|
run: |
|
||||||
git config --local user.name "GitHub Action"
|
tools/announceybot.exe update-readme "zig-0.12.0"
|
||||||
git commit -am "Update README"
|
|
||||||
git push origin master
|
- 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