Skip to content

Commit

Permalink
Merge pull request #63 from DIT113-V22/Godot-CI
Browse files Browse the repository at this point in the history
Build godot project on CI. Fixes related issue: #61
  • Loading branch information
Dreia authored May 18, 2022
2 parents 71f704b + e35a3c4 commit 0486d3d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/Godot CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build Island.zip Artifact

on: [push, pull_request, workflow_dispatch]

env:
GODOT_VERSION: 3.4.4
DIR: Mod # directory where the Godot project is

jobs:
export-linux:
name: Linux Export
runs-on: ubuntu-latest
container:
image: barichello/godot-ci:mono-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: Resolve Dependencies
run: |
mkdir -v -p build
cd $DIR
godot --export-pack "Linux/X11" --no-window ../build/mods/Island.pck
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: Island
path: build/mods

0 comments on commit 0486d3d

Please sign in to comment.