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'
|
|
|
|
|
2022-03-07 08:24:46 +00:00
|
|
|
- name: Install Python Tools
|
2022-03-07 07:17:38 +00:00
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
python -m pip install yaclog yaclog-ksp
|
|
|
|
|
2022-03-09 07:43:33 +00:00
|
|
|
- name: Download DLL Dependencies
|
2022-03-07 07:17:38 +00:00
|
|
|
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:42:51 +00:00
|
|
|
unzip conformal-decals-dependencies-*.zip -d ConformalDecals/dlls
|
2022-03-07 08:24:46 +00:00
|
|
|
dotnet build --configuration Release ConformalDecals.sln
|
2022-03-07 07:17:38 +00:00
|
|
|
|
2022-03-09 07:43:33 +00:00
|
|
|
- name: Generate version info
|
|
|
|
run: python Scripts/version.py
|
|
|
|
|
2022-03-07 08:24:46 +00:00
|
|
|
- name: Build DLL
|
2022-03-07 07:17:38 +00:00
|
|
|
working-directory: Source
|
|
|
|
run: |
|
2022-03-07 08:28:00 +00:00
|
|
|
mkdir -p ../GameData/ConformalDecals/Plugins
|
2022-03-07 08:06:16 +00:00
|
|
|
dotnet build --configuration Release ConformalDecals.sln
|
|
|
|
|
2022-03-09 07:43:33 +00:00
|
|
|
- name: Validate files
|
|
|
|
uses: DasSkelett/AVC-VersionFileValidator@master
|
|
|
|
|
2022-03-07 08:08:43 +00:00
|
|
|
- name: Upload Unbundled Build
|
2022-03-07 08:06:16 +00:00
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
2022-03-07 08:29:39 +00:00
|
|
|
name: ConformalDecals-unbundled
|
2022-03-07 08:24:46 +00:00
|
|
|
path: |
|
|
|
|
GameData/ConformalDecals
|
|
|
|
README.md
|
|
|
|
CHANGELOG.md
|
|
|
|
LICENSE-ART.md
|
|
|
|
LICENSE-SOURCE.md
|