Skip to content

CreateReleasePackage #34

CreateReleasePackage

CreateReleasePackage #34

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/