Skip to content

build

build #6

Workflow file for this run

name: build
on:
push:
branches: [ main ]
paths:
- '**.cs'
pull_request:
paths:
- '**.cs'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Download required assemblies
run: echo "TODO"
- name: Install Dependencies
run: echo "TODO"
- name: Update Version
run: echo "TODO"
# TODO: fetch tag, datetime, etc
- name: Build Mod Solution
run: |
msbuild -restore /p:Configuration=Release /p:ReferencePath="${KSP_DIR}" ${GITHUB_WORKSPACE}/FreeIva.sln
- name: Assemble Release
run: echo "TODO"
# TODO: copy license/readme/changelog etc? copy to temp location?
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
# TODO: add version to filename?
name: FreeIva
path: ${GITHUB_WORKSPACE}/GameData