tools for exporting godot projects via Github Actions
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
|
name: Linux export
description: Linux export
runs:
using: composite
steps:
- name: Setup
uses: bend-n/godot-actions/.github/actions/setup-godot@main
- name: Get export name
id: get-export-name
uses: bend-n/godot-actions/.github/actions/get-export-name@main
with:
platform: Linux/X11
- name: Linux Build
if: steps.get-export-name.outputs.export-name
run: |
echo "::group::Linux Build"
mkdir -vp build/linux
godot -v --export "${{ steps.get-export-name.outputs.export-name }}" ./build/linux/$NAME.x86_64
echo "::endgroup::"
shell: bash
- name: Add extra files
if: steps.get-export-name.outputs.export-name
run: |
[[ -f .github/post_export ]] && chmod +x .github/post_export && ./.github/post_export linux
shell: bash
- uses: actions/upload-artifact@v3
if: steps.get-export-name.outputs.export-name
with:
name: linux
path: build/linux
|