Skip to content

Commit

Permalink
workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwm committed Sep 18, 2023
1 parent c363ee8 commit c8dd7e5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
with:
dotnet-version: 3.1.x
- name: Build
run: dotnet build
run: |
cd src
dotnet build
- name: Test
run: dotnet test --no-build --verbosity normal
run: |
cd src
dotnet test --no-build --verbosity normal
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Build
run: dotnet build --configuration Release
run: |
cd src
dotnet build --configuration Release
- name: Publish
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
- name: Create Release
Expand Down

0 comments on commit c8dd7e5

Please sign in to comment.