This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
85 lines (82 loc) · 2.43 KB
/
blank.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: "godot-ci export"
on: push
env:
GODOT_VERSION: 4.2.1
jobs:
export-windows:
name: Windows Export
runs-on: ubuntu-latest
steps:
- name: Checkout main repo
uses: actions/checkout@v2
with:
lfs: true
- uses: chickensoft-games/setup-godot@v1
name: Setup Godot
with:
version: 4.2.1
- name: Download Windows artifact
id: download-win-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: windows.yml
workflow_conclusion: success
repo: adastralgroup/winter
- name: Download Linux artifact
id: download-lin-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: linux.yml
workflow_conclusion: success
repo: adastralgroup/winter
- name: Setup
run: |
apt-get update
apt-get install -y libnotify4 libnotify-dev libcurl4-openssl-dev
cp linux/* bin/
cp windows/* bin/
- name: Windows Build
run: |
mkdir -v -p build/windows
godot -v --export-debug --headless "Windows Desktop" build/windows/adastral.exe
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: windows
path: build/windows/
export-linux:
name: Linux Export
runs-on: ubuntu-latest
steps:
- uses: chickensoft-games/setup-godot@v1
name: Setup Godot
with:
version: 4.2.1
- name: Checkout main repo
uses: actions/checkout@v2
with:
lfs: true
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: linux.yml
workflow_conclusion: success
repo: adastralgroup/winter
- name: Setup
run: |
apt-get update
apt-get install -y libnotify4 libnotify-dev libcurl4-openssl-dev
cp linux/* bin/
- name: Linux Build
run: |
mkdir -v -p build/linux
godot -v --export-debug --headless "Linux/X11" build/linux/adastral.x86_64
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: linux
path: build/linux