Skip to content

Build / publish

Build / publish #5

Workflow file for this run

name: Publish PowerShell Module
on:
workflow_dispatch:
release:
types: [created]
jobs:
publish-to-gallery:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and publish
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
shell: pwsh
run: |
dotnet build -c Release
Publish-Module -Path Rnwood.Dataverse.Data.PowerShell\bin\Release\net6.0\Rnwood.Dataverse.Data.PowerShell.psd1 -NuGetApiKey $env:NUGET_KEY -Verbose