Skip to content

Fix autoupdate

Fix autoupdate #2

name: Nightly update
on:
push:
branches:
- main
schedule:
- cron: '16 22 * * *'
jobs:
update-zig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
version: 12
- run: npm install @octokit/action
- run: node .github/actions/nightly-update.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}