Skip to content

Commit

Permalink
Merge pull request #27 from wapplegate/wapplegate-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
wapplegate authored Dec 9, 2022
2 parents a1395e6 + ad9bf76 commit e90db8a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: main-build

on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.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
dotnet pack ./AccessTokenClient.Extensions -p:ContinuousIntegrationBuild=true --configuration Release --verbosity minimal -o ./packages
dotnet nuget push ./packages/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json

0 comments on commit e90db8a

Please sign in to comment.