regular_build #1564
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: 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 }} |