Update check #1528
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: Update check | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
update: | |
name: Update | |
runs-on: windows-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Choco install updater | |
uses: crazy-max/ghaction-chocolatey@v2 | |
with: | |
args: install au | |
- name: Update | |
run: | | |
refreshenv | |
git config --global user.email "chocolatey@realdimensions.net" | |
git config --global user.name "Chocolatey" | |
git config --global core.safecrlf false | |
.\update_all.ps1 | |
shell: powershell | |
env: | |
api_key: ${{ secrets.choco_api_key }} | |
github_user_repo: ${{ github.repository }} | |
github_api_key: ${{ secrets.GITHUB_TOKEN }} | |
au_Push: "true" |