-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4a308b
commit cb7abc3
Showing
1 changed file
with
16 additions
and
14 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 |
---|---|---|
|
@@ -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 |