Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

feat: Github Actions CI/CD #28

feat: Github Actions CI/CD

feat: Github Actions CI/CD #28

Workflow file for this run

name: Build PSP Papers Mod Installer
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
- name: Install .NET
run: |
choco install netfx-4.8.1-devpack -y
- name: Build installer executable
run: |
cd .\psp-papers-installer\
ls
dotnet restore "psp-papers-installer.csproj"
dotnet msbuild "psp-papers-installer.csproj" /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: PspPapersModInstaller
path: .\psp-papers-installer\bin\Release