Skip to content

Merge pull request #894 from adamralph/build-metadata-info-version-only #17

Merge pull request #894 from adamralph/build-metadata-info-version-only

Merge pull request #894 from adamralph/build-metadata-info-version-only #17

Workflow file for this run

name: release
on:
push:
tags: ["*.*.*"]
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
with:
dotnet-version: 7.0.401
- uses: actions/[email protected]
- 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 }}