mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Simplify uploading and ensure Plugin directory exists
This commit is contained in:
parent
80da98d95a
commit
90dec1b42a
22
.github/workflows/ksp-publish.yml
vendored
22
.github/workflows/ksp-publish.yml
vendored
@ -19,29 +19,31 @@ jobs:
|
||||
with:
|
||||
dotnet-version: '6.0.x'
|
||||
|
||||
- name: Install python tools
|
||||
- name: Install Python Tools
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install yaclog yaclog-ksp
|
||||
|
||||
- name: Install Conformal Decals dependencies
|
||||
- name: Download 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
|
||||
- name: Build DLL
|
||||
working-directory: Source
|
||||
run: |
|
||||
zip -r ConformalDecals-unbundled.zip GameData/ConformalDecals README.md CHANGELOG.md LICENSE-ART.md LICENSE-SOURCE.md
|
||||
mkdir -p GameData/ConformalDecals/Plugins
|
||||
dotnet build --configuration Release ConformalDecals.sln
|
||||
|
||||
- name: Upload Unbundled Build
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: build-unbundled
|
||||
path: ConformalDecals-unbundled.zip
|
||||
path: |
|
||||
GameData/ConformalDecals
|
||||
README.md
|
||||
CHANGELOG.md
|
||||
LICENSE-ART.md
|
||||
LICENSE-SOURCE.md
|
Loading…
Reference in New Issue
Block a user