Skip to content

Merge pull request #92 from LogicAppCollaborative/development #37

Merge pull request #92 from LogicAppCollaborative/development

Merge pull request #92 from LogicAppCollaborative/development #37

Workflow file for this run

name: Publish to PowerShell Gallery
on:
push:
branches:
- main
jobs:
build:
name: Push to Gallery
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup PowerShell module cache
id: cacher
uses: actions/cache@v3
with:
path: "C:\\Users\\runneradmin\\Documents\\PowerShell\\Modules"
key: ${{ runner.os }}-PSFramework-PSScriptAnalyzer
- name: Install Prerequisites
if: steps.cacher.outputs.cache-hit != 'true'
run: .\build\vsts-prerequisites.ps1
shell: pwsh
# - name: Validate
# run: .\build\vsts-validate.ps1
# shell: pwsh
- name: Build
run: .\build\vsts-build.ps1 -ApiKey $env:APIKEY -AutoVersion
shell: pwsh
env:
APIKEY: ${{ secrets.ApiKey }}