KSP-Conformal-Decals/.github/workflows/ksp-publish.yml

49 lines
1.4 KiB
YAML
Raw Normal View History

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
2022-03-07 07:17:38 +00:00
run: |
python -m pip install --upgrade pip
python -m pip install yaclog yaclog-ksp
- name: Download 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
dotnet build --configuration Release ConformalDecals.sln
2022-03-07 07:17:38 +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-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:08:43 +00:00
name: build-unbundled
path: |
GameData/ConformalDecals
README.md
CHANGELOG.md
LICENSE-ART.md
LICENSE-SOURCE.md