This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
Publish Calendar #7
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 Calendar | |
on: [workflow_dispatch] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.13.2' | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install InvokeBuild | |
run: Install-Module InvokeBuild -Force | |
shell: pwsh | |
- name: Build | |
run: Invoke-Build -File .\Components\components.build.ps1 -Task Calendar | |
shell: pwsh | |
- name: Publish | |
run: Publish-Module -Path .\Components\Calendar\output\Universal.Components.Calendar -NuGetApiKey $ENV:NUGETAPIKEY -Repository PSGallery -Verbose | |
shell: pwsh | |
env: | |
NUGETAPIKEY: ${{ secrets.PSGALLERYKEY }} |