-
Notifications
You must be signed in to change notification settings - Fork 324
40 lines (37 loc) · 1.36 KB
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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