-
Notifications
You must be signed in to change notification settings - Fork 45
54 lines (48 loc) · 2.05 KB
/
assemble_linux.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: 🐧 Assemble Linux
on:
workflow_call:
inputs:
godot-kotlin-jvm-version:
type: string
godot-version:
type: string
build-version:
type: string
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-linux_assemble
cancel-in-progress: true
jobs:
create-linux-editor-zip:
runs-on: ubuntu-20.04
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- name: Create editor zip release
target: release
arch: x86_64
- name: Create editor zip debug
target: debug
arch: x86_64
steps:
- name: Download ${{ matrix.target }} editor
uses: actions/download-artifact@v4
with:
name: editor_${{ matrix.target }}_linux_${{ matrix.arch }}
path: godot-kotlin-jvm_editor_linuxbsd_${{ matrix.arch }}_${{ matrix.target }}_${{ inputs.godot-kotlin-jvm-version }}
- name: Download ${{ matrix.target }} bootstrap jar
uses: actions/download-artifact@v4
with:
name: jvm_godot-bootstrap_${{ matrix.target }}
path: godot-kotlin-jvm_editor_linuxbsd_${{ matrix.arch }}_${{ matrix.target }}_${{ inputs.godot-kotlin-jvm-version }}
- name: Create linux editor zip
run: |
cd godot-kotlin-jvm_editor_linuxbsd_${{ matrix.arch }}_${{ matrix.target }}_${{ inputs.godot-kotlin-jvm-version }}
zip -r godot-kotlin-jvm_editor_linuxbsd_${{ matrix.arch }}_${{ matrix.target }}_${{ inputs.godot-kotlin-jvm-version }}.zip *
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: godot-kotlin-jvm_editor_linuxbsd_${{ matrix.arch }}_${{ matrix.target }}_${{ inputs.godot-kotlin-jvm-version }}.zip
path: godot-kotlin-jvm_editor_linuxbsd_${{ matrix.arch }}_${{ matrix.target }}_${{ inputs.godot-kotlin-jvm-version }}/godot-kotlin-jvm_editor_linuxbsd_${{ matrix.arch }}_${{ matrix.target }}_${{ inputs.godot-kotlin-jvm-version }}.zip