Skip to content

Commit

Permalink
CI: Ensure Linux version of GDSiON is present for web builds
Browse files Browse the repository at this point in the history
Since web builds are exported via Linux, it's nice
to have appropriate version available so the
Godot editor doesn't freak out.

Also fix a minor issue in the export plugin.
  • Loading branch information
YuriSizov committed Dec 20, 2024
1 parent 4fba1e0 commit daa0394
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/actions/setup-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,13 @@ runs:
run: |
curl -JLO ${{ env.GDSION_PATH }}
unzip libgdsion-${{ inputs.platform }}.zip
# Web platform is exported via Linux, so install that version of GDSiON as well.
- name: Install GDSiON Linux (Web)
if: ${{ inputs.platform == 'web' }}
shell: bash
env:
GDSION_PATH: https://github.com/YuriSizov/gdsion/releases/download/${{ inputs.gdsion-version }}/libgdsion-linux.zip
run: |
curl -JLO ${{ env.GDSION_PATH }}
unzip -n libgdsion-linux.zip
1 change: 0 additions & 1 deletion addons/bosca_exports/plugin.gd
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ func _enter_tree() -> void:
func _exit_tree() -> void:
if is_instance_valid(_export_plugin_web):
remove_export_plugin(_export_plugin_web)
_export_plugin_web.free()

0 comments on commit daa0394

Please sign in to comment.