Skip to content

Commit

Permalink
👷🏽‍♂️ Stop generating NuGet package artifact in CI from all 3 runners (
Browse files Browse the repository at this point in the history
…#469)

Avoid publishing NuGet package and uploading it as an artifact from other jobs than the executed in the Ubuntu one runner.
  • Loading branch information
eduherminio committed Oct 27, 2023
1 parent 6e3fd29 commit 7c2ac81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,11 @@ jobs:
if-no-files-found: error

- name: Publish library
if: matrix.os == 'ubuntu-latest'
run: dotnet pack -c Release --no-build src/Lynx/Lynx.csproj --include-symbols -o artifacts/nuget

- name: Upload Lynx-${{ env.GITHUB_REF_SLUG }}-${{ github.run_number }} NuGet package
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v3
with:
name: Lynx-${{ env.GITHUB_REF_SLUG }}-${{ github.run_number }}
Expand Down

0 comments on commit 7c2ac81

Please sign in to comment.