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 57b2329 commit 7f3b178
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,12 @@ jobs:
- name: Restore Nuget Packages
run: dotnet restore RotationSolver/RotationSolver.csproj

- name: Publish NuGet
uses: brandedoutcast/publish-nuget@v2
with:
PROJECT_FILE_PATH: RotationSolver.Basic/Rotationsolver.Basic.csproj
PACKAGE_NAME: RotationSolverReborn.Basic
VERSION_STATIC: ${{ env.tag }}
NUGET_KEY: ${{ secrets.NUGET_API_KEY }}

- 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: Push Nuget Package
run: dotnet nuget push .\build\*.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 7f3b178

Please sign in to comment.