2022-03-07 07:17:38 +00:00
|
|
|
|
|
|
|
name: build
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup Python
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: '3.x'
|
|
|
|
|
|
|
|
- name: Setup .NET Core SDK
|
|
|
|
uses: actions/setup-dotnet@v1.7.2
|
|
|
|
with:
|
|
|
|
dotnet-version: '6.0.x'
|
|
|
|
|
|
|
|
- name: Install python tools
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
python -m pip install yaclog yaclog-ksp
|
|
|
|
|
|
|
|
- name: Install Conformal Decals dependencies
|
|
|
|
working-directory: Source
|
|
|
|
run: |
|
2022-03-07 07:23:39 +00:00
|
|
|
wget --user drewcassidy --password ${{ secrets.PILE_OF_ROCKS_PASS }} https://pileof.rocks/Secret/conformal-decals-dependencies-1.zip
|
2022-03-07 07:17:38 +00:00
|
|
|
mkdir -p ConformalDecals/bin/Release
|
2022-03-07 07:42:51 +00:00
|
|
|
unzip conformal-decals-dependencies-*.zip -d ConformalDecals/dlls
|
2022-03-07 07:17:38 +00:00
|
|
|
|
|
|
|
- name: Build Conformal Decals dll
|
|
|
|
working-directory: Source
|
|
|
|
run: |
|
|
|
|
dotnet build --configuration Release ConformalDecals.sln
|