Skip to content

Test 2 CD Pipeline: 0.0.0 -> 0.0.1. #1

Test 2 CD Pipeline: 0.0.0 -> 0.0.1.

Test 2 CD Pipeline: 0.0.0 -> 0.0.1. #1

name: CD of WindowsPath
on:
push:
paths:
- 'latest.json'
workflow_dispatch:
jobs:
publish-module:
name: Publish WindowsPath to PSGallery
permissions:
contents: write
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build-Test
run: |
. .\build.ps1
Start-ModuleInstallationBuild
Set-ModuleInstallationTestReport
Push-ModuleInstallationTestReport -Email ${{ secrets.EMAIL_KEY }}
- name: Publish
if: success()
run: |
Import-Module WindowsPath -Force
Publish-Module -Name WindowsPath -NuGetApiKey ${{ secrets.NUGET_API_KEY }} -Force