Skip to content

.NET 8 Support (#39) #61

.NET 8 Support (#39)

.NET 8 Support (#39) #61

Workflow file for this run

name: XUMM.NET.SDK
on:
push:
tags:
- '*.*.*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
with:
strip_v: true
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- uses: nuget/setup-nuget@v1
with:
nuget-api-key: ${{ secrets.NUGET_APIKEY }}
nuget-version: '5.x'
- name: Build XUMM.NET.SDK
run: dotnet build -p:PackageVersion=${{steps.tag.outputs.tag}} --configuration Release ./src/XUMM.NET.SDK/XUMM.NET.SDK.csproj
- name: Build XUMM.NET.SDK.Webhooks
run: dotnet build -p:PackageVersion=${{steps.tag.outputs.tag}} --configuration Release ./src/XUMM.NET.SDK.Webhooks/XUMM.NET.SDK.Webhooks.csproj
- name: Publish XUMM.NET.SDK
run: dotnet nuget push .\src\XUMM.NET.SDK\bin\Release\*.nupkg -k ${{ secrets.NUGET_APIKEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
- name: Publish XUMM.NET.SDK.Webhooks
run: dotnet nuget push .\src\XUMM.NET.SDK.Webhooks\bin\Release\*.nupkg -k ${{ secrets.NUGET_APIKEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate