dev-base #36
1 changed files with 0 additions and 39 deletions
|
@ -1,39 +0,0 @@
|
||||||
name: build
|
|
||||||
run-name: Building Game
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ dev-base ]
|
|
||||||
|
|
||||||
env:
|
|
||||||
GODOT_VERSION: 3.3.4
|
|
||||||
EXPORT_NAME: 2dHackAndSlay
|
|
||||||
PROJECT_PATH: /
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
export-linux:
|
|
||||||
name: Linux Export
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
container:
|
|
||||||
image: barichello/godot-ci:3.3.4
|
|
||||||
steps:
|
|
||||||
- name: Setup System Packages
|
|
||||||
run: |
|
|
||||||
apt update -y && apt install nodejs ca-certificates -y
|
|
||||||
- name: Checkout
|
|
||||||
uses: https://github.com/actions/checkout@v3
|
|
||||||
- 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: Linux Build
|
|
||||||
run: |
|
|
||||||
mkdir -v -p build/linux
|
|
||||||
cd $PROJECT_PATH
|
|
||||||
godot -v --export "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64
|
|
||||||
- name: Upload Artifact
|
|
||||||
uses: https://github.com/actions/upload-artifact@v1
|
|
||||||
with:
|
|
||||||
name: linux
|
|
||||||
path: build/linux
|
|
Reference in a new issue