Skip to content

Commit acbd7cf

Browse files
committed
CI: Add C# API to nightlies (probably)
1 parent 7f0e7cd commit acbd7cf

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/dev-release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,20 @@ jobs:
2323
- name: Build
2424
run: cmake --build ${{github.workspace}}/csharp-api/build --config ${{env.BUILD_TYPE}} --target ALL_BUILD
2525

26-
- name: Compress release
26+
- name: Prepare release
2727
run: |
2828
pip install -r ${{github.workspace}}/csharp-api/requirements.txt
2929
python ${{github.workspace}}/csharp-api/make_symlinks.py --gamedir="${{github.workspace}}/csharp-api" --bindir="${{github.workspace}}/csharp-api/build/bin" --just_copy=Tru
3030
31+
- name: Compress release
32+
run: |
33+
7z a ${{github.workspace}}/${{matrix.target}}.zip ${{github.workspace}}/csharp-api/reframework/*
34+
3135
- name: Upload artifacts
3236
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
3337
with:
3438
name: ${{matrix.target}}
35-
path: ${{github.workspace}}/csharp-api/reframework/
39+
path: ${{github.workspace}}/${{matrix.target}}.zip
3640
if-no-files-found: error
3741

3842
dev-release:
@@ -75,7 +79,7 @@ jobs:
7579

7680
nightly-push:
7781
runs-on: windows-latest
78-
needs: dev-release
82+
needs: [dev-release, csharp-release]
7983
if: github.ref == 'refs/heads/master'
8084
steps:
8185
- name: Checkout

0 commit comments

Comments
 (0)