Skip to content

Merge pull request #32 from wapplegate/feature/dotnet-8 #4

Merge pull request #32 from wapplegate/feature/dotnet-8

Merge pull request #32 from wapplegate/feature/dotnet-8 #4

Workflow file for this run

name: develop-build-deploy
on:
push:
branches: ["develop"]
pull_request:
branches: ["develop"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore
- name: Build, Test, Package, Deploy
run: |
dotnet build
dotnet test --no-build --verbosity normal
dotnet build -c Release
dotnet pack ./AccessTokenClient -p:ContinuousIntegrationBuild=true --configuration Release --verbosity minimal -o ./packages -p:PackageVersion=4.0.0-rc${{github.run_number}}
dotnet pack ./AccessTokenClient.Extensions -p:ContinuousIntegrationBuild=true --configuration Release --verbosity minimal -o ./packages -p:PackageVersion=4.0.0-rc${{github.run_number}}
dotnet nuget push ./packages/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json