Skip to content

Bump the all-dependencies group with 4 updates (#726) #73

Bump the all-dependencies group with 4 updates (#726)

Bump the all-dependencies group with 4 updates (#726) #73

Workflow file for this run

name: Publish
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Install dependencies
run: dotnet restore
- name: Test
run: dotnet test -c Release --framework net9.0
- name: Pack with dotnet
run: |
arrTag=(${GITHUB_REF//\// })
VERSION="${arrTag[2]}"
VERSION="${VERSION//v}"
PACKAGE_PATH="${GITHUB_WORKSPACE}/artifacts"
echo "$VERSION"
dotnet pack --property:PackageOutputPath=$PACKAGE_PATH --configuration Release -p:Version=$VERSION -p:ContinuousIntegrationBuild=True
- name: Push with dotnet
run: dotnet nuget push "artifacts/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate