Skip to content

CLOUDP-225724 Setup Step #4

CLOUDP-225724 Setup Step

CLOUDP-225724 Setup Step #4

Workflow file for this run

---
name: Run Updates
on:
push:
# branches:
# - master
schedule:
- cron: "0 16 * * 1-5"
permissions:
contents: write
jobs:
updateall:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: install profile
run: |
$profileInstall = @'
# Chocolatey profile
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
if (Test-Path($ChocolateyProfile)) {
Import-Module "$ChocolateyProfile"
}
'@
$profileInstall | Out-File $profile -Append -Encoding (Get-FileEncoding $profile)
- run: ./setup/au_setup.ps1
- run: ./update_all.ps1
env:
au_Push: true
gist_id: 401de57398b774a70ad4dc5d46aab760
github_user_repo: ${{ env.GITHUB_REPOSITORY }}
github_api_key: ${{ secrets.GH_TOKEN_WITH_GIST }}
api_key: ${{ secrets.CHOCO_API_KEY }}