Skip to content

regular_build

regular_build #1652

name: regular_build
on:
workflow_dispatch:
push:
branches:
- master
schedule:
- cron: "0 9 * * *"
- cron: "0 21 * * *"
jobs:
update_all_app_manifests:
name: Update all app manifests
runs-on: windows-latest
env:
SCOOP_REPO_NAME: scoop
steps:
- name: Clone scoop repo
shell: pwsh
run: git clone https://github.com/lukesampson/scoop.git ./$env:SCOOP_REPO_NAME
working-directory: ../
- name: Clone my scoop bucket repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Check for app updates
shell: pwsh
run: . ./bin/check-updates.ps1 -WorkspacePath $env:GITHUB_WORKSPACE -ScoopRepoPath $env:GITHUB_WORKSPACE/../$env:SCOOP_REPO_NAME
- name: git push
shell: pwsh
run: git push https://$env:TOKEN@github.com/athrunsun/scoop-bucket.git HEAD:master
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}