add new colorscript - thisisfine #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish PowerShell Module | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-to-gallery: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set Timezone | |
run: sudo timedatectl set-timezone Pacific/Auckland | |
- uses: actions/checkout@v4 | |
- name: Build and publish | |
env: | |
NUGET_KEY: ${{ secrets.NUGET_KEY }} | |
shell: pwsh | |
run: | | |
./build.ps1 | |
Publish-Module -Path ./ps-color-scripts -NuGetApiKey $env:NUGET_KEY -Verbose |