You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KSP-Conformal-Decals/.github/workflows/ksp-publish.yml

47 lines
1.4 KiB
YAML

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: |
wget --user drewcassidy --password ${{ secrets.PILE_OF_ROCKS_PASS }} https://pileof.rocks/Secret/conformal-decals-dependencies-1.zip
mkdir -p ConformalDecals/bin/Release
unzip conformal-decals-dependencies-*.zip -d ConformalDecals/dlls
- name: Build Conformal Decals dll
working-directory: Source
run: |
dotnet build --configuration Release ConformalDecals.sln
- name: Zip Up Release
run: |
zip -r ConformalDecals-unbundled.zip Gamedata/ConformalDecals/* README.md CHANGELOG.md LICENSE-ART.md LICENSE-SOURCE.md
- name: Upload Unbundled Build
uses: actions/upload-artifact@v3
with:
name: build-unbundled
path: ConformalDecals-unbundled.zip