forked from mint-choc-chip-skyblade/sshd-rando
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (36 loc) · 991 Bytes
/
godot.yaml
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
name: godot build
on:
push:
branches:
- main
paths:
- 'tracker/**'
env:
GODOT_VERSION: 4.2.1
EXPORT_NAME: sshdr-tracker
PROJECT_PATH: tracker
jobs:
export-windows:
name: Windows Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:${GODOT_VERSION}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Windows Build
run: |
mkdir -v -p build/windows
cd $PROJECT_PATH
godot -v --export "Windows Desktop" ../build/windows/$EXPORT_NAME.exe
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.EXPORT_NAME }}_Windows_$CI_JOB_NAME
path: build/windows