-
-
Notifications
You must be signed in to change notification settings - Fork 29
51 lines (46 loc) · 1.33 KB
/
createReleasePackage.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
41
42
43
44
45
46
47
48
49
50
name: CreateReleasePackage
on:
workflow_dispatch:
inputs:
versions:
description: 'PackageVersion'
required: true
jobs:
packing:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: SetupNuget
uses: nuget/setup-nuget@v1
- name: RestoreNugetPackage
run: nuget restore ExtremeRoles.sln
- name: SetupPython
uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: 'x64'
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.x
- name: AddMsBuildToPATH
uses: microsoft/setup-msbuild@v1
- name: RunBuildAndPacking
run: ./packing.ps1
# ExtremeRoles.zip
- uses: actions/upload-artifact@v3
with:
name: "ExtremeRoles-v${{ github.event.inputs.versions }}"
path: ./workspace/ExtremeRoles/
# ExtremeRoles-v with skins.zip
- uses: actions/upload-artifact@v3
with:
name: "ExtremeRoles-v${{ github.event.inputs.versions }} with Extreme Skins"
path: ./workspace/ExtremeRolesWithSkins/
# Mod zip Only
- uses: actions/upload-artifact@v3
with:
name: ExtremeRolesModOnly
path: ./workspace/dll/