more workflow
This commit is contained in:
@@ -10,7 +10,7 @@ env:
|
||||
jobs:
|
||||
export-linux:
|
||||
name: Linux Export
|
||||
runs-on: ubuntu-latest-full
|
||||
runs-on: act-latest
|
||||
container:
|
||||
image: barichello/godot-ci:3.6
|
||||
steps:
|
||||
@@ -20,13 +20,45 @@ jobs:
|
||||
lfs: true
|
||||
- name: Setup
|
||||
run: |
|
||||
echo $PATH
|
||||
mkdir -v -p ~/.local/share/godot/templates
|
||||
- name: Linux Build
|
||||
run: |
|
||||
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
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: 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