Skip to content

Commit

Permalink
tooling: update action to allow for tests without pushing
Browse files Browse the repository at this point in the history
Signed-off-by: mikeee <[email protected]>
  • Loading branch information
mikeee committed Jan 15, 2024
1 parent a6675d7 commit 36787a7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36787a7

Please sign in to comment.