-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathinternal-test-plugin-legacy.yml
More file actions
40 lines (32 loc) · 1.13 KB
/
internal-test-plugin-legacy.yml
File metadata and controls
40 lines (32 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This is an internal test for KSPBuildTools and not intended to be used by other projects
name: Test Plugin Mod (Legacy)
on:
workflow_call:
env:
TESTDIR: tests/plugin-mod-legacy
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- uses: ./.github/actions/setup-ckan
- uses: ./.github/actions/compile
with:
ksp-zip-url: https://github.com/KSPModdingLibs/KSPLibs/raw/main/KSP-1.12.5.zip
working-directory: ${{ env.TESTDIR }}
use-nuget-restore: true
- uses: ./.github/actions/assemble-release
id: assemble-release
with:
artifacts: ${{ env.TESTDIR }}/GameData
output-file-name: plugin-mod-legacy
- uses: actions/upload-artifact@v4
with:
path: ${{ steps.assemble-release.outputs.artifact-dir-path }}
name: plugin-mod-legacy
if-no-files-found: error
include-hidden-files: 'true' # behavior changed in 4.4.0. Include hidden for matching the behavior of `zip`