Scoop Buckets Sync #582
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scoop Buckets Sync | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '5 0 * * *' | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
# runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Sync buckets | |
run: | | |
cp -f .github/package.json . | |
npm i --no-package-lock --no-audit --no-fund | |
node .github/sync.mjs | |
env: | |
SYNC: 1 |