Skip to content

Commit

Permalink
Skipping all packaging steps on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Oct 23, 2024
1 parent 2633edf commit db7106a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dotnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,12 @@ jobs:
run: dotnet test --no-build --configuration ${{ env.DOTNET_CONFIGURATION }} --collect "XPlat Code Coverage" --results-directory test-results --logger trx /p:TrxLogFileNameSuffix=${{ matrix.os }}

- name: Get git tag
if: ${{ matrix.os == 'ubuntu-latest' }}
id: git_tag
run: "echo tag=${GITHUB_REF#refs/tags/v} >> $GITHUB_OUTPUT"

- name: Publish NuGet package
if: ${{ matrix.os == 'ubuntu-latest' }}
run: dotnet pack --no-build -c ${{ env.DOTNET_CONFIGURATION }} -o ./nuget -p:PackageVersion=${{ steps.git_tag.outputs.tag }}

- name: Publish NuGet packages as artifacts
Expand Down

0 comments on commit db7106a

Please sign in to comment.