Skip to content
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
5a3b253
Merge pull request #28 from NewDEV-github/develop
JezSonic Jan 25, 2021
c37d625
Merge branch 'develop'
JezSonic Jan 25, 2021
5801cc1
Create godot-build-cmd.yml
JezSonic Jan 26, 2021
3022155
Update godot-build-cmd.yml
JezSonic Jan 26, 2021
6794daa
Update godot-build-cmd.yml
JezSonic Jan 26, 2021
b3f5166
Update godot-build-cmd.yml
JezSonic Jan 26, 2021
c1e3e2b
Update godot-build-cmd.yml
JezSonic Jan 26, 2021
48ab6a6
Update godot-build-cmd.yml
JezSonic Jan 26, 2021
b877644
Update godot-build-cmd.yml
JezSonic Jan 26, 2021
bfae361
now building may work, hope it will
JezSonic Jan 26, 2021
15b501d
some args fixes
JezSonic Jan 26, 2021
b4013c4
fix path for project to export
JezSonic Jan 26, 2021
aecdab3
use cd before executing export, this should fix error
JezSonic Jan 26, 2021
ee23924
chuj tam
JezSonic Jan 26, 2021
86cd772
change server to headless
JezSonic Jan 26, 2021
7d74aba
now use tree to list dirs
JezSonic Jan 26, 2021
bde9570
try to adjust the paths
JezSonic Jan 26, 2021
79aa613
fix missing permissions
JezSonic Jan 26, 2021
076c8b8
for some reason cd can not be prefixed with sudo
JezSonic Jan 26, 2021
ab99842
ok, i didnt see error
JezSonic Jan 26, 2021
613239d
change name, add other platforms to build
JezSonic Jan 26, 2021
bc0d682
change copy system
JezSonic Jan 26, 2021
f8724bb
Update and rename godot-build-cmd.yml to godot-build.yml
JezSonic Jan 26, 2021
88e3754
oops! wrong path, heheheheheheheheheheeeeeeeee
JezSonic Jan 26, 2021
faf13e9
ive removed one tree to make the work faster
JezSonic Jan 26, 2021
16a74ff
Update godot-build.yml
JezSonic Jan 26, 2021
57ea34e
Update godot-build.yml
JezSonic Jan 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/godot-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# This is a basic workflow to help you get started with Actions

name: Godot Build

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
godot-build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a set of commands using the runners shell
- name: download godot and export templates
run: |
sudo apt install unzip
sudo apt install tree
echo *** Downloading Godot Binary ***
wget https://downloads.tuxfamily.org/godotengine/3.2.4/beta6/Godot_v3.2.4-beta6_linux_headless.64.zip
echo *** Downloading Godot Server Export Templates ***
wget https://downloads.tuxfamily.org/godotengine/3.2.4/beta6/Godot_v3.2.4-beta6_export_templates.tpz
echo *** Unzipping Godot Binary ***
unzip Godot_v3.2.4-beta6_linux_headless.64.zip
echo *** Unzipping Godot Server Export Templates ***
unzip Godot_v3.2.4-beta6_export_templates.tpz
echo *** Installing Godot Server Export Templates ***
cd /home/runner/
sudo mkdir -p /.local/share/godot
cd /.local/share/godot
sudo mkdir -p templates/3.2.4.beta6
sudo cp -r $GITHUB_WORKSPACE/templates/* templates/3.2.4.beta6
cd ../../../
find / -name linux_x11_64_release
echo *** Exporting Files ***
cd $GITHUB_WORKSPACE
sudo mkdir -p builds/{x11-32,x11-64,win-32,win-64,osx}
./Godot_v3.2.4-beta6_linux_headless.64 --path "." --export "x11-64" builds/x11-64/FoxyAdventure.x86_64
./Godot_v3.2.4-beta6_linux_headless.64 --path "." --export "x11-32" builds/x11-32/FoxyAdventure.x86
./Godot_v3.2.4-beta6_linux_headless.64 --path "." --export "osx" builds/osx/FoxyAdventure.zip
./Godot_v3.2.4-beta6_linux_headless.64 --path "." --export "win-32" builds/win-32/FoxyAdventure.exe
./Godot_v3.2.4-beta6_linux_headless.64 --path "." --export "win-64" builds/win-64/FoxyAdventure.exe
tree -a