Skip to content

Fixed double resize during same batch #2

Fixed double resize during same batch

Fixed double resize during same batch #2

Workflow file for this run

name: Release to NuGet
on:
push:
tags:
- 'v*'
env:
SOURCE: Source
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Get version from tag
run: |
TAGVERSION=$(git describe --tags --abbrev=0)
echo "TAGVERSION=${TAGVERSION:1}" >> $GITHUB_ENV
- name: Pack with dotnet
run: dotnet pack ${{ env.SOURCE }} -c Release --include-source --include-symbols -o ./artifacts -p:Version=${{ env.TAGVERSION }}
- name: Push with dotnet
run: dotnet nuget push ./artifacts/*.nupkg -k ${{ secrets.NUGETAPIKEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate