0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-26 00:59:28 -05:00
denoland-rusty-v8/.github/workflows/update-v8.yml

27 lines
830 B
YAML
Raw Normal View History

name: Update V8
on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v1
- uses: denoland/setup-deno@main
with:
deno-version: v1.x
2021-04-27 05:02:47 -04:00
- name: Setup Git user
run: |
git config --global user.email "33910674+denobot@users.noreply.github.com"
git config --global user.name "denobot"
git config --global user.password ${{ secrets.DENOBOT_PAT }}
echo "GIT_USER=${{ secrets.DENOBOT_PAT }}" >> $GITHUB_ENV
git remote set-url origin https://${{ secrets.DENOBOT_PAT }}@github.com/denoland/rusty_v8.git
- run: deno run -A ./tools/auto_update_v8.ts
2021-04-27 05:02:47 -04:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}