Renamed job to match the task its doing #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Publish NuGet Package | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| build-nupkg: | |
| runs-on: debian-12 | |
| steps: | |
| - name: Clean up Environment | |
| run: | | |
| rm -rf ./* | |
| rm -rf ./.??* | |
| - uses: actions/checkout@v3 | |
| - name: Pack the plugin template | |
| run: dotnet pack -c Debug -o ./packs | |
| - name: Publish to github Pkg | |
| run: dotnet nuget push "./packs/*.nupkg" --skip-duplicate --api-key ${{secrets.GH_PACKAGES_READWRITE}} --source https://nuget.pkg.github.com/Moonlight-Panel/index.json |