Skip to content

Commit

Permalink
update for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael LoPresti committed Oct 12, 2023
1 parent 22ad61c commit 590144b
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/ci.github-action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CI
run-name: ${{ github.actor }} CI
on: [push]
on:
push:
pull_request:
branches: [main]

env:
SHELL: powershell
Expand All @@ -14,10 +17,22 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: setup
- name: Setup Environment
uses: "./.github/template/setup"
with:
shell: ${{ env.SHELL }}

- name: InvokeBuild validate
run: Invoke-Build validate

- name: InvokeBuild generate_package
if: github.event_name == 'pull_request'
run: Invoke-Build generate_package -zipPackage $true

- name: Save
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v3
with:
name: package
path: dist/ValidateJson.zip
retention-days: 7

0 comments on commit 590144b

Please sign in to comment.