Skip to content

Merge pull request #15 from DrDrrae/dev #9

Merge pull request #15 from DrDrrae/dev

Merge pull request #15 from DrDrrae/dev #9

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
publish-to-gallery:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and publish
# API key generated in PSGallery
env:
NUGET_KEY: ${{ secrets.GALLERY_API_KEY }}
BUILDVER: '1.0.0'
shell: pwsh
run: |
./build_scripts/build.ps1
Publish-Module -path ./ClickUpAPI -NuGetApiKey $env:NUGET_KEY -Verbose