more workflow
This commit is contained in:
@@ -10,7 +10,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
export-linux:
|
export-linux:
|
||||||
name: Linux Export
|
name: Linux Export
|
||||||
runs-on: ubuntu-latest-full
|
runs-on: act-latest
|
||||||
container:
|
container:
|
||||||
image: barichello/godot-ci:3.6
|
image: barichello/godot-ci:3.6
|
||||||
steps:
|
steps:
|
||||||
@@ -20,13 +20,45 @@ jobs:
|
|||||||
lfs: true
|
lfs: true
|
||||||
- name: Setup
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
|
echo $PATH
|
||||||
mkdir -v -p ~/.local/share/godot/templates
|
mkdir -v -p ~/.local/share/godot/templates
|
||||||
- name: Linux Build
|
- name: Linux Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/linux
|
mkdir -v -p build/linux
|
||||||
godot -v --export --no-window "Linux/X11" build/linux/Gymkhana.x86_64
|
git clone https://github.com/godot-escoria/escoria-demo-game.git
|
||||||
|
cd addons
|
||||||
|
ln -sf ../escoria-demo-game/addons/escoria-core escoria-core
|
||||||
|
cd ..
|
||||||
|
godot -v --export "Linux/X11" build/linux/Gymkhana.x86_64 --no-window
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: build/linux
|
path: build/linux
|
||||||
|
export-web:
|
||||||
|
name: Web Export
|
||||||
|
runs-on: act-latest
|
||||||
|
container:
|
||||||
|
image: barichello/godot-ci:3.6
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
|
- name: Setup
|
||||||
|
run: |
|
||||||
|
echo $PATH
|
||||||
|
mkdir -v -p ~/.local/share/godot/templates
|
||||||
|
- name: HTML5 Build
|
||||||
|
run: |
|
||||||
|
mkdir -v -p build/web
|
||||||
|
git clone https://github.com/godot-escoria/escoria-demo-game.git
|
||||||
|
cd addons
|
||||||
|
ln -sf ../escoria-demo-game/addons/escoria-core escoria-core
|
||||||
|
cd ..
|
||||||
|
godot -v --export "HTML5" build/web/index.html --no-window
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: web
|
||||||
|
path: build/web
|
||||||
Reference in New Issue
Block a user