1
0
Fork 0
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:
Rene Schallner 2024-06-28 11:54:32 +02:00
parent c56ebc7840
commit 1c4a10836b

View file

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