Skip to content

Version 0.2.0

Version 0.2.0 #3

Workflow file for this run

name: Publish Module
on:
push:
tags:
- "v*.*.*"
jobs:
publish_module:
name: Publish Module
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.200'
- name: Build
shell: pwsh
run: |
& ./Build.ps1 Release
- name: Publish
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
shell: pwsh
run: |
Publish-Module -Path ./module/PowerShellRun -NuGetApiKey "$env:NUGET_API_KEY"