Skip to content

Chocolatey Publish Pulsar Package #22

Chocolatey Publish Pulsar Package

Chocolatey Publish Pulsar Package #22

Workflow file for this run

name: Chocolatey Publish Pulsar Package
on:
workflow_dispatch:
jobs:
publish:
runs-on: windows-latest
steps:
- name: Checkout Latest Code
uses: actions/checkout@v3
- name: Build Package
run: |
cd ./pulsar
choco pack
- name: Publish New Version
run: |
$fileName = ( Get-ChildItem -Path ./pulsar -Filter pulsar.*.nupkg )
Write-Host "Publishing $fileName to Chocolatey"
choco push $fileName --source https://push.chocolatey.org --api-key ${{ secrets.CHOCO_API_KEY }}