mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
remove readme-updates from mastercheck CI build
This commit is contained in:
parent
c56ebc7840
commit
1c4a10836b
1 changed files with 0 additions and 30 deletions
30
.github/workflows/mastercheck.yml
vendored
30
.github/workflows/mastercheck.yml
vendored
|
@ -37,33 +37,3 @@ jobs:
|
|||
- name: Report end of tests
|
||||
run: echo "tests finished"
|
||||
|
||||
update-readme:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: goto-bus-stop/setup-zig@v2
|
||||
with:
|
||||
version: master
|
||||
|
||||
- name: Build announceybot
|
||||
run: zig build announceybot
|
||||
|
||||
- name: Run script to update README
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAG_NAME: ${{ steps.tag.outputs.version }}
|
||||
run: |
|
||||
zig-out/bin/announceybot update-readme "zig-master"
|
||||
|
||||
- name: Commit and push if it has changed
|
||||
run: |
|
||||
git diff
|
||||
git checkout zig-master
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git commit -am "Update README"
|
||||
git push origin zig-master
|
||||
|
|
Loading…
Add table
Reference in a new issue