Skip to content

4.4 doesn't work with this yet, right? #165

Answered by ideamonster
ideamonster asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, nvm. I got it working. Not quite sure how but here it is now:

image: barichello/godot-ci:4.3

variables:
  EXPORT_NAME: Soulblaze

stages:
  - import-assets
  - export


import-assets:
  stage: import-assets
  script:
    - godot --import --headless
    # Run a second time to make sure that the warnings have cleared.
    # This should exit pretty much immediately.
    - godot --import --headless
    - ls .godot
  cache:
    key: $GAME_NAME.godot
    paths:
      - .godot
    policy: push


windows:
  stage: export
  script:
    - mkdir -v -p build/windows
    - godot --headless --verbose --export-release "Windows Desktop" ./build/windows/$EXPORT_NAME.exe
  artifacts:
    name: $EXPORT…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ideamonster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant