Skip to content

Commit

Permalink
add skipValidation option
Browse files Browse the repository at this point in the history
  • Loading branch information
FH-Inway committed May 4, 2024
1 parent e32bc70 commit 6b46e32
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ on:
options:
- $False
- $True
skipValidation:
description: "Determines if the module is validated before building"
default: false
required: false
type: boolean

jobs:
call-tmpl-build-release:
Expand All @@ -25,5 +30,6 @@ jobs:
module: 'd365fo.tools'
skippublish: ${{ inputs.skippublish }}
skipghrelease: ${{ inputs.skipghrelease }}
skipValidation: ${{ inputs.skipValidation }}
secrets:
apikey: ${{ secrets.ApiKey }}
6 changes: 6 additions & 0 deletions .github/workflows/tmpl-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ on:
default: $False
required: false
type: string
skipValidation:
description: "Determines if the module is validated before building"
default: false
required: false
type: boolean
secrets:
apikey:
description: "Key for the PowerShell Gallery API"
Expand All @@ -45,6 +50,7 @@ jobs:
- name: Validate
run: .\build\vsts-validate.ps1
shell: powershell
if: ${{ inputs.skipValidation }} == false
- name: Build
run: .\build\vsts-build.ps1 -ApiKey ${{ secrets.apikey }} -AutoVersion:${{ inputs.autoversion }} -SkipPublish:${{ inputs.skippublish }}
shell: powershell
Expand Down

0 comments on commit 6b46e32

Please sign in to comment.