Skip to content

Commit

Permalink
try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
renerocksai committed Feb 24, 2024
1 parent c4a308b commit cb7abc3
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/mastercheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,20 @@ jobs:
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"
- uses: actions/checkout@v3

- 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
- 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

0 comments on commit cb7abc3

Please sign in to comment.