From 36787a78c77d9750c58d13b48fa46792aa77c4f2 Mon Sep 17 00:00:00 2001 From: mikeee Date: Mon, 15 Jan 2024 13:46:19 +0000 Subject: [PATCH] tooling: update action to allow for tests without pushing Signed-off-by: mikeee --- .github/workflows/update.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index c2dd1034..c1530c49 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -43,7 +43,20 @@ jobs: git clone -q https://github.com/majkinetor/au.git $Env:TEMP/au . "$Env:TEMP/au/scripts/Install-AU.ps1" $Env:au_version + - name: Test all packages + if: github.event_name == 'pull_request' + run: | + $ErrorActionPreference = 'Continue' + ./update_all.ps1 + 7z a au_temp.zip $Env:TEMP\chocolatey\au\* + + env: + au_version: # omitting to use latest + au_push: false + au_test_groups: 1 + - name: Update all packages + if: github.event_name != 'pull_request' run: | $ErrorActionPreference = 'Continue' ./update_all.ps1