Merge pull request #492 from MUnique/dev/improve-server-management #786
This file contains 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: publish to nuget | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
name: Publish packages to nuget | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.100 | |
- name: publish MUnique.OpenMU.PlugIns on version change | |
uses: rohith/publish-nuget@5fdc86fb81a38b37521c9f153bfb60ac44e7ba93 | |
with: | |
PROJECT_FILE_PATH: src/PlugIns/MUnique.OpenMU.PlugIns.csproj | |
TAG_COMMIT: false | |
NUGET_KEY: ${{secrets.NUGET_KEY}} | |
PACKAGE_NAME: munique.openmu.plugins | |
- name: publish MUnique.OpenMU.Network on version change | |
uses: rohith/publish-nuget@5fdc86fb81a38b37521c9f153bfb60ac44e7ba93 | |
with: | |
PROJECT_FILE_PATH: src/Network/MUnique.OpenMU.Network.csproj | |
TAG_COMMIT: false | |
NUGET_KEY: ${{secrets.NUGET_KEY}} | |
PACKAGE_NAME: munique.openmu.network | |
- name: publish MUnique.OpenMU.Network.Packets on version change | |
uses: rohith/publish-nuget@5fdc86fb81a38b37521c9f153bfb60ac44e7ba93 | |
with: | |
PROJECT_FILE_PATH: src/Network/Packets/MUnique.OpenMU.Network.Packets.csproj | |
TAG_COMMIT: true | |
TAG_FORMAT: v* | |
NUGET_KEY: ${{secrets.NUGET_KEY}} | |
PACKAGE_NAME: munique.openmu.network.packets |