Skip to content

Merge pull request #1039 from adamralph/update-changelog #21

Merge pull request #1039 from adamralph/update-changelog

Merge pull request #1039 from adamralph/update-changelog #21

Workflow file for this run

name: release
on:
push:
tags: ["*.*.*"]
permissions: read-all
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-dotnet@v4.0.1
with:
dotnet-version: 8.0.303
- uses: actions/checkout@v4.1.7
- env:
MINVER_VERSION: ${{ vars.MINVER_VERSION }}
run: ./build build
- name: push
env:
SOURCE: ${{ secrets.NUGET_PUSH_SOURCE }}
API_KEY: ${{ secrets.NUGET_PUSH_API_KEY }}
if: env.SOURCE != '' || env.API_KEY != ''
run: dotnet nuget push ./**/*.nupkg --source ${{ env.SOURCE }} --api-key ${{ env.API_KEY }}