Skip to content

Commit

Permalink
Fix: Failing release because of a breaking change in DOTNET 7.0.200
Browse files Browse the repository at this point in the history
  • Loading branch information
BrammyS committed Feb 14, 2023
1 parent a0c70ae commit 119e486
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,31 @@ jobs:
run: dotnet test --configuration Release /p:Version=${VERSION} --no-build

- name: Pack Color-Chan.Discord
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
run: dotnet pack ./src/Color-Chan.Discord --configuration Release /p:Version=${VERSION} --no-build --output .

- name: Push Color-Chan.Discord nuget.org
run: dotnet nuget push Color-Chan.Discord.${VERSION}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate

- name: Pack Color-Chan.Discord.Rest
run: dotnet pack ./src/Color-Chan.Discord.Rest --configuration Release /p:Version=${VERSION} --no-build --output .

- name: Push Color-Chan.Discord.Rest nuget.org
run: dotnet nuget push Color-Chan.Discord.Rest.${VERSION}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate

- name: Pack Color-Chan.Discord.Core
run: dotnet pack ./src/Color-Chan.Discord.Core --configuration Release /p:Version=${VERSION} --no-build --output .

- name: Push Color-Chan.Discord.Core nuget.org
run: dotnet nuget push Color-Chan.Discord.Core.${VERSION}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate

- name: Pack Color-Chan.Discord.Commands
run: dotnet pack ./src/Color-Chan.Discord.Commands --configuration Release /p:Version=${VERSION} --no-build --output .

- name: Push Color-Chan.Discord.Commands nuget.org
run: dotnet nuget push Color-Chan.Discord.Commands.${VERSION}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate

- name: Pack Color-Chan.Discord.Caching
run: dotnet pack ./src/Color-Chan.Discord.Caching --configuration Release /p:Version=${VERSION} --no-build --output .

- name: Push Color-Chan.Discord.Caching nuget.org
run: dotnet nuget push Color-Chan.Discord.Caching.${VERSION}.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 comments on commit 119e486

Please sign in to comment.