Skip to content

Commit

Permalink
Update publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
NostraThomas99 authored Apr 7, 2024
1 parent 546dd3c commit 1f81e14
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,11 @@ jobs:
- name: Restore Nuget Packages
run: dotnet restore RotationSolver/RotationSolver.csproj

- name: Package RS.Basic Nuget
run: dotnet pack RotationSolver.Basic/RotationSolver.Basic.csproj -c Release -p:PackageVersion=${{ env.tag }} -o .\nuget
- name: Build Plugin
run: dotnet build --no-restore -c Release RotationSolver/RotationSolver.csproj -p:AssemblyVersion=${{ env.tag }} -p:FileVersion=${{ env.tag }} -p:PackageVersion=${{ env.tag }} -p:InformationalVersion=${{ env.tag }} --output .\build

- name: Publish RS.Basic Nuget
run: dotnet nuget push .\nuget\RotationSolver.Basic.${{ env.tag }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

- name: Build Plugin
run: dotnet build --no-restore -c Release RotationSolver/RotationSolver.csproj -p:AssemblyVersion=${{ env.tag }} -p:FileVersion=${{ env.tag }} -p:InformationalVersion=${{ env.tag }} --output .\build
run: dotnet nuget push .\build\RotationSolver.Basic.${{ env.tag }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

- name: Zip Plugin
run: Compress-Archive -Path .\build\* -DestinationPath .\build\RotationSolver.zip
Expand Down

0 comments on commit 1f81e14

Please sign in to comment.