From 68fc881c36b243240a20715b401de96a0cae4301 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 16 Dec 2024 14:40:18 -0500 Subject: [PATCH] Allow symbols to be packed --- .github/workflows/build_and_test.yml | 9 ++++++--- .github/workflows/check_pr.yml | 5 ++++- SabreTools.Compression/SabreTools.Compression.csproj | 2 ++ 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 46183f8..46c994e 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -17,7 +17,10 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 9.0.x - + + - name: Run tests + run: dotnet test + - name: Run publish script run: ./publish-nix.sh @@ -25,13 +28,13 @@ jobs: uses: actions/upload-artifact@v4 with: name: 'Nuget Package' - path: '*.nupkg' + path: "*.nupkg,*.snupkg" - name: Upload to rolling uses: ncipollo/release-action@v1.14.0 with: allowUpdates: True - artifacts: '*.nupkg' + artifacts: "*.nupkg,*.snupkg" 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 fad7fe2..b152072 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -14,4 +14,7 @@ jobs: dotnet-version: 9.0.x - name: Build - run: dotnet build \ No newline at end of file + run: dotnet build + + - name: Run tests + run: dotnet test diff --git a/SabreTools.Compression/SabreTools.Compression.csproj b/SabreTools.Compression/SabreTools.Compression.csproj index 33b15c9..71449e2 100644 --- a/SabreTools.Compression/SabreTools.Compression.csproj +++ b/SabreTools.Compression/SabreTools.Compression.csproj @@ -4,8 +4,10 @@ net20;net35;net40;net452;net462;net472;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 true + true latest enable + snupkg true 0.6.2