dev-base #36
1 changed files with 29 additions and 5 deletions
|
@ -5,10 +5,34 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [ dev-base ]
|
branches: [ dev-base ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
GODOT_VERSION: 4.0.0
|
||||||
|
EXPORT_NAME: 2dHackAndSlay
|
||||||
|
PROJECT_PATH: /
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
export-linux:
|
||||||
runs-on: ubuntu-latest
|
name: Linux Export
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
container:
|
||||||
|
image: https://github.com/barichello/godot-ci:3.3.4
|
||||||
steps:
|
steps:
|
||||||
- uses: https://github.com/actions/checkout@v3
|
- name: Checkout
|
||||||
- run: pwd
|
uses: https://github.com/actions/checkout@v3
|
||||||
- run: ls
|
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: 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: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: linux
|
||||||
|
path: build/linux
|
Reference in a new issue