From fc35fa3068fdb3004bb1a01d39bcff5ceba592ca Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 4 Mar 2024 10:43:51 -0500 Subject: [PATCH] Fix workflow files --- .github/workflows/build_nupkg.yml | 10 ++++++++-- .github/workflows/check_pr.yml | 5 ++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_nupkg.yml b/.github/workflows/build_nupkg.yml index c52e9fb..ac3d20e 100644 --- a/.github/workflows/build_nupkg.yml +++ b/.github/workflows/build_nupkg.yml @@ -20,6 +20,12 @@ jobs: - name: Restore dependencies run: dotnet restore + + - name: Build library + run: dotnet build + + - name: Run tests + run: dotnet test - name: Pack run: dotnet pack @@ -28,13 +34,13 @@ jobs: uses: actions/upload-artifact@v4 with: name: 'Nuget Package' - path: 'bin/Release/*.nupkg' + path: 'SabreTools.Hashing/bin/Release/*.nupkg' - name: Upload to rolling uses: ncipollo/release-action@v1.14.0 with: allowUpdates: True - artifacts: 'bin/Release/*.nupkg' + artifacts: 'SabreTools.Hashing/bin/Release/*.nupkg' body: 'Last built commit: ${{ github.sha }}' name: 'Rolling Release' prerelease: True diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index bba92af..b623bb8 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -14,4 +14,7 @@ jobs: dotnet-version: 8.0.x - name: Build - run: dotnet build \ No newline at end of file + run: dotnet build + + - name: Run tests + run: dotnet test \ No newline at end of file