Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Publish Calendar

Publish Calendar #7

Workflow file for this run

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 }}