-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.22 KB
/
github-actions.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
name: Astrolaser build and release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build project
run: |
sudo bash .github/workflows/scripts/prebuild.sh
/usr/local/bin/godot --headless --path . --export-release "Windows Desktop" game.exe
zip astrolaser_x64_windows.zip game.exe game.pck
- name: Upload build artifact windows
uses: actions/upload-artifact@v3
with:
name: astrolaser-artifact-win
path: astrolaser_x64_windows.zip
release:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download build artifact win
uses: actions/download-artifact@v3
with:
name: astrolaser-artifact-win
path: ./
- name: Create Release and Upload Assets
uses: ncipollo/release-action@v1
with:
artifacts: "astrolaser_x64_windows.zip,labyrintum_x64_linux.zip"
body: |
# Astrolaser - Release Notes
## Version: v0.0.7
### Minor changes
- Add joystick support