From c8dd7e54641d0d25d3d59302fb305fa04cc359aa Mon Sep 17 00:00:00 2001 From: Adam Humpherys Date: Mon, 18 Sep 2023 08:35:00 -0600 Subject: [PATCH] workflow updates --- .github/workflows/build.yml | 8 ++++++-- .github/workflows/release.yml | 8 +++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 310a6ce..57833cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file + run: | + cd src + dotnet test --no-build --verbosity normal \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6603642..2ba1796 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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