Skip to content

build

build #210

Workflow file for this run

name: build
on:
workflow_dispatch:
schedule:
# everyday at midnight
- cron: '0 0 * * *'
jobs:
update_all:
runs-on: windows-latest
env:
default_branch: ${{ github.ref_name }}
au_Push: ${{ vars.AU_PUSH }}
au_NoCheckChocoVersion: ${{ vars.AU_NOCHECKCHOCOVERSION }}
au_Force: ${{ vars.AU_FORCE }}
api_key: ${{ secrets.CHOCO_API_KEY }}
github_api_key: ${{ secrets.GITHUB_TOKEN }}
github_gists_api_key: ${{ secrets.GH_GISTS_TOKEN }}
github_user_repo: joaoopereira/chocolatey-packages
gist_id: 96897ba590320ac7b84dd5f9a68914c3
gist_id_test: 2b4075bc4b14c88550bad4888e276142
steps:
- uses: actions/checkout@v3
- name: install dependencies
uses: crazy-max/ghaction-chocolatey@v2
with:
args: install -y au
- name: test_all
shell: pwsh
run: |
.\test_all.ps1
git reset --hard
- name: update_all
shell: pwsh
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
.\update_all.ps1