Skip to content

Bump the all-dependencies group across 1 directory with 6 updates (#38) #28

Bump the all-dependencies group across 1 directory with 6 updates (#38)

Bump the all-dependencies group across 1 directory with 6 updates (#38) #28

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: dotnet restore
- name: Test
run: dotnet test -c Release
- name: Pack with dotnet
run: |
arrTag=(${GITHUB_REF//\// })
VERSION="${arrTag[2]}"
VERSION="${VERSION//v}"
echo "$VERSION"
dotnet pack --output artifacts --configuration Release -p:Version=$VERSION
- name: Push with dotnet
run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json