Skip to content

Publish

Publish #2

Workflow file for this run

name: Publish
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Publish
shell: pwsh
run: |
$apiKey = '${{ secrets.PSGALLERY_API_KEY }}' | ConvertTo-SecureString -AsPlainText -Force
$cred = [pscredential]::new('apikey', $apiKey)
./build.ps1 -Task Publish -PSGalleryApiKey $cred -Bootstrap