Comments (4)
Thanks!
from godot-ci.
The setup command should be adjusted in your YAML, as Mono export templates are installed to 3.4.4.stable.mono
.
from godot-ci.
The setup command should be adjusted in your YAML, as Mono export templates are installed to
3.4.4.stable.mono
.
@Calinou
Hi thanks for the prompt reply, it works after the edit however now I am getting the following error @Windows Build:
Run mkdir -v -p build/windows
mkdir -v -p build/windows
cd $EXPORT_NAME
godot -v --export "Windows Desktop" ../build/windows/$EXPORT_NAME.exe
shell: sh -e {0}
env:
GODOT_VERSION: 3.4.4
EXPORT_NAME: test-project
mkdir: created directory 'build'
mkdir: created directory 'build/windows'
/__w/_temp/a7850ee6-95f7-4f6f-97d3-d78d05808777.sh: 2: cd: can't cd to test-project
Error: Process completed with exit code 2.
This is the current .yml:
name: "godot-ci export"
on: push
env:
GODOT_VERSION: 3.4.4
EXPORT_NAME: test-project
jobs:
export-windows:
name: Windows Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:mono-3.4.4
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: print secrets
run: |
printf 'extends Node\nconst API_KEY := \"%s\"' $DEV_ENV_FILE > UI/Firebase/PrivateKey.gd
cat UI/Firebase/PrivateKey.gd
shell: bash
env:
DEV_ENV_FILE : ${{secrets.FIREBASE_API_KEY}}
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
name: DEV_ENV_FILE
path: UI/Firebase/PrivateKey.gd
- name: Setup
run: |
cd /
mkdir -v -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable.mono ~/.local/share/godot/templates/${GODOT_VERSION}.stable.mono
- name: Windows Build
run: |
mkdir -v -p build/windows
cd $EXPORT_NAME
godot -v --export "Windows Desktop" ../build/windows/$EXPORT_NAME.exe
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: windows
path: build/windows
from godot-ci.
Remove the cd $EXPORT_NAME
if your game isnt in a subfolder
from godot-ci.
Related Issues (20)
- Windows build problems HOT 4
- Add blender support to godot4 HOT 7
- Include web export release templates HOT 23
- Cross origin requirements for godot 4 in the browser HOT 1
- Re-run 4.1.1 release HOT 5
- [question] Will be possible to use this images, or have a diferent one to run Gut in the pipeline? HOT 5
- 4.1.1 has an issue with /github/home/ vs /root
- Godot Version 3.5.3 Support? HOT 8
- Unclaimed string names HOT 4
- fixed godot 4.1.3 pipeline
- Docker godot mono 4.1.3 image not working - .NET not initalized HOT 7
- 4.2 support?
- Exported Games with Godot-CI and C# are not recognizing the connected events HOT 1
- Unable to load any resources (4.2.1) HOT 10
- ".../" in export command was causing issue in web build HOT 1
- Does jdk needs an update? HOT 1
- `No export template found at expected path` HOT 3
- [3.5.2] Build hanging after failing to load resources HOT 2
- godot 4.2.2 missing templates? HOT 1
- Docker image incorrect godot version argument HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot-ci.