Skip to content

jreleaser v1.13.0

jreleaser v1.13.0 #35

Workflow file for this run

name: Push-jreleaser
on:
push:
tags:
- '*'
branches-ignore:
- '**'
jobs:
push:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.0.x'
- name: Find package
shell: bash
run: |
echo "PACKAGE_NAME=$(ls jreleaser/*.nuspec)" >> $GITHUB_ENV
- name: Pack
shell: powershell
run: |
choco pack ${{ env.PACKAGE_NAME }}
- name: Publish
shell: powershell
run: |
choco apikey -k ${{ secrets.CHOCOLATEY_API_KEY }} -s https://push.chocolatey.org/
choco push $(ls *.nupkg | % {$_.FullName}) -s https://push.chocolatey.org/