Skip to content

Commit

Permalink
CI/CD packing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutomi committed Feb 26, 2024
1 parent 705407b commit c59137d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup .NET
- name: Setup .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
Expand All @@ -36,8 +36,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Pack Libraries
run: dotnet pack -c Release --no-build --no-restore --include-symbols --include-source -o ./nupkgs
run: dotnet pack -c Release --include-symbols --include-source -o ./nupkgs

- name: Publish to GitHub Packages
run: dotnet nuget push ./nupkgs/*.nupkg --source "github" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup .NET
- name: Setup .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
Expand All @@ -30,4 +30,4 @@ jobs:
run: dotnet build --no-restore -c Release

- name: Test
run: dotnet test --no-build --verbosity normal -c Release
run: dotnet test --no-build --verbosity normal -c Release

0 comments on commit c59137d

Please sign in to comment.