Skip to content

Merge pull request #93 from kbatbouta/development #156

Merge pull request #93 from kbatbouta/development

Merge pull request #93 from kbatbouta/development #156

Workflow file for this run

name: Build
env:
SLN_PATH: Source/
on:
push:
branches:
- main
paths-ignore:
- 'README.md'
tags-ignore:
- 'v*'
pull_request:
paths-ignore:
- README.md
jobs:
build:
name: Build on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
# You can configure operating systems to build on here. It shouldn't make a difference
operating-system: [ubuntu-latest]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Install Dependencies
run: dotnet restore ${{ env.SLN_PATH }}
- name: Build Mod
run: dotnet build ${{ env.SLN_PATH }} --configuration Release --no-restore
- name: Upload Mod Files
uses: actions/upload-artifact@v2
with:
name: cai-5000
path: |
About/
Resources/
1.*/
Source/
!**/.*
LICENSE.md
LoadFolders.xml
README.md
# This final path is to exclude hidden files such as .gitkeep and .DS_STORE.
# I would recommend keeping it, but I don't think it will break anything if
# you remove or modify it.