1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 23:24:09 +00:00

updated zig-master check in CI

This commit is contained in:
Rene Schallner 2024-06-28 11:41:19 +02:00
parent bef03af8b4
commit 3409490114

View file

@ -2,10 +2,10 @@ name: Works with Zig master
on: on:
push: push:
branches: branches:
- zig-0.13.0 - zig-master
pull_request: pull_request:
branches: branches:
- zig-0.13.0 - zig-master
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
workflow_dispatch: workflow_dispatch:
@ -57,13 +57,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: ${{ steps.tag.outputs.version }} TAG_NAME: ${{ steps.tag.outputs.version }}
run: | run: |
zig-out/bin/announceybot update-readme "zig-0.13.0" zig-out/bin/announceybot update-readme "zig-master"
- name: Commit and push if it has changed - name: Commit and push if it has changed
run: | run: |
git diff git diff
git checkout zig-0.13.0 git checkout zig-master
git config --local user.email "action@github.com" git config --local user.email "action@github.com"
git config --local user.name "GitHub Action" git config --local user.name "GitHub Action"
git commit -am "Update README" git commit -am "Update README"
git push origin zig-0.13.0 git push origin zig-master