Skip to content

Add Multi-Platform 2D StartKit #14

Add Multi-Platform 2D StartKit

Add Multi-Platform 2D StartKit #14

Workflow file for this run

name: Visual Studio Project Templates
env:
TEMPLATE_VERSION: 3.8.3
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-vscode:
runs-on: windows-latest
name: Build Templates
steps:
- name: Checkout current repo
uses: actions/checkout@v4
with:
path: main
submodules: true
- name: Setup .NET 8.0.x & 9.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
9.0.x
- name: Build and Pack the Templates into a NUGET
id: MG-Templates
run: dotnet pack main/CSharp/MonoGame.Templates.CSharp.csproj -p:Configuration=Release
- name: Upload Template Nugets
uses: actions/upload-artifact@v4
with:
name: MonoGame.Templates.CSharp.${{ ENV.TEMPLATE_VERSION }}
path: 'Artifacts/MonoGame.Templates.CSharp/**/*.nupkg'