From 3dfdd7ea11e08cabd31983f055506b6a0c951e5e Mon Sep 17 00:00:00 2001 From: Anastasiia Popova Date: Tue, 28 Apr 2026 20:26:43 -0700 Subject: [PATCH 1/3] Fixed path for testing --- .github/workflows/test-and-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index d6941dc..d6360f1 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -29,10 +29,10 @@ jobs: cache-dependency-path: "**/packages.lock.json" - name: Restore - run: dotnet restore --locked-mode + run: dotnet restore .\Lexepars.sln --locked-mode - name: Test - run: dotnet test -c Release --no-restore + run: dotnet test .\Lexepars.sln -c Release --no-restore pack-and-upload: needs: test @@ -50,10 +50,10 @@ jobs: cache-dependency-path: "**/packages.lock.json" - name: Restore - run: dotnet restore --locked-mode + run: dotnet restore .\Lexepars.sln --locked-mode - name: Pack - run: dotnet pack -c Release --no-restore -o ./artifacts + run: dotnet pack .\Lexepars.sln -c Release --no-restore -o ./artifacts -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg From c6acdad255aad06333b219f0cc74e3504313e1e8 Mon Sep 17 00:00:00 2001 From: Anastasiia Popova Date: Wed, 29 Apr 2026 00:43:02 -0700 Subject: [PATCH 2/3] Changed installation --- .github/workflows/test-and-publish.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index d6360f1..428ba01 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -14,17 +14,18 @@ jobs: timeout-minutes: 30 strategy: fail-fast: false - matrix: - dotnet-version: ['8.0.x', '9.0.x', '10.0.x'] steps: - name: Checkout uses: actions/checkout@v6 - - name: Setup .NET ${{ matrix.dotnet-version }} + - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: ${{ matrix.dotnet-version }} + dotnet-version: | + 8.0.x + 9.0.x + 10.0.x cache: true cache-dependency-path: "**/packages.lock.json" From 6f83c09f9c1a6ed25e7f57074f272f240e3b837c Mon Sep 17 00:00:00 2001 From: Anastasiia Popova Date: Wed, 29 Apr 2026 01:04:46 -0700 Subject: [PATCH 3/3] Changed no-restore --- .github/workflows/test-and-publish.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 428ba01..d5dd299 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -50,11 +50,8 @@ jobs: cache: true cache-dependency-path: "**/packages.lock.json" - - name: Restore - run: dotnet restore .\Lexepars.sln --locked-mode - - name: Pack - run: dotnet pack .\Lexepars.sln -c Release --no-restore -o ./artifacts + run: dotnet pack .\Lexepars.sln -c Release -o ./artifacts -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg