Skip to content

Commit

Permalink
this shit isnt linux?
Browse files Browse the repository at this point in the history
  • Loading branch information
LTS-FFXIV authored Sep 13, 2024
1 parent 38fd134 commit acfe214
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ jobs:
run: dotnet restore RotationSolver/RotationSolver.csproj

- 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

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
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
run: Compress-Archive -Path .\build\* -DestinationPath .\build\RotationSolver.zip

- name: Publish Plugin
uses: softprops/action-gh-release@v2
with:
files: ./build/RotationSolver.zip
files: .\build\RotationSolver.zip
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit acfe214

Please sign in to comment.