1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Bump version to v1.0-beta2, try GH Action errors on build by adding an extra step that imports resources once before building Pixelorama

This commit is contained in:
Emmanouil Papadeas 2024-06-03 18:05:53 +03:00
parent debbbf34d1
commit 7b115bae41
4 changed files with 25 additions and 1 deletions

View file

@ -43,6 +43,9 @@ jobs:
run: | run: |
mkdir -v -p build/${EXPORT_NAME}-Windows-64bit ~/.local/share/godot/export_templates mkdir -v -p build/${EXPORT_NAME}-Windows-64bit ~/.local/share/godot/export_templates
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Import resources once 📦
continue-on-error: true
run: godot --headless -v --import
- name: Windows Build 🔧 - name: Windows Build 🔧
run: godot --headless -v --export-release "Windows Desktop 64-bit" ./build/${EXPORT_NAME}-Windows-64bit/$EXPORT_NAME.exe run: godot --headless -v --export-release "Windows Desktop 64-bit" ./build/${EXPORT_NAME}-Windows-64bit/$EXPORT_NAME.exe
- name: Copy pixelorama_data folder 📁 - name: Copy pixelorama_data folder 📁
@ -70,6 +73,9 @@ jobs:
run: | run: |
mkdir -v -p build/${EXPORT_NAME}-Linux-64bit build/${EXPORT_NAME}-Linux-ARM64 ~/.local/share/godot/export_templates mkdir -v -p build/${EXPORT_NAME}-Linux-64bit build/${EXPORT_NAME}-Linux-ARM64 ~/.local/share/godot/export_templates
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Import resources once 📦
continue-on-error: true
run: godot --headless -v --import
- name: Linux Build 🔧 - name: Linux Build 🔧
run: | run: |
godot --headless -v --export-release "Linux/X11 64-bit" ./build/${EXPORT_NAME}-Linux-64bit/$EXPORT_NAME.x86_64 godot --headless -v --export-release "Linux/X11 64-bit" ./build/${EXPORT_NAME}-Linux-64bit/$EXPORT_NAME.x86_64
@ -125,6 +131,9 @@ jobs:
unzip -a Godot_v${GODOT_VERSION}-stable_macos.universal.zip unzip -a Godot_v${GODOT_VERSION}-stable_macos.universal.zip
- name: Setup 💻 - name: Setup 💻
run: mkdir -v -p ./build/mac run: mkdir -v -p ./build/mac
- name: Import resources once 📦
continue-on-error: true
run: ./Godot.app/Contents/MacOS/Godot --headless -v --import
- name: Mac Build 🔧 - name: Mac Build 🔧
run: | run: |
chown runner ./Godot.app/Contents/MacOS/Godot chown runner ./Godot.app/Contents/MacOS/Godot

View file

@ -27,6 +27,9 @@ jobs:
run: | run: |
mkdir -v -p build/web ~/.local/share/godot/export_templates mkdir -v -p build/web ~/.local/share/godot/export_templates
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Import resources once 📦
continue-on-error: true
run: godot --headless -v --import
- name: Web Build 🔧 - name: Web Build 🔧
run: godot --headless -v --export-release "Web" ./build/web/index.html run: godot --headless -v --export-release "Web" ./build/web/index.html
- name: Install rsync 📚 - name: Install rsync 📚

View file

@ -35,6 +35,9 @@ jobs:
run: | run: |
mkdir -v -p build/${EXPORT_NAME}-Windows-64bit build/${EXPORT_NAME}-Windows-32bit ~/.local/share/godot/export_templates mkdir -v -p build/${EXPORT_NAME}-Windows-64bit build/${EXPORT_NAME}-Windows-32bit ~/.local/share/godot/export_templates
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Import resources once 📦
continue-on-error: true
run: godot --headless -v --import
- name: Windows Build 🔧 - name: Windows Build 🔧
run: | run: |
godot --headless -v --export-release "Windows Desktop 64-bit" ./build/${EXPORT_NAME}-Windows-64bit/${EXPORT_NAME}.exe godot --headless -v --export-release "Windows Desktop 64-bit" ./build/${EXPORT_NAME}-Windows-64bit/${EXPORT_NAME}.exe
@ -84,6 +87,9 @@ jobs:
run: | run: |
mkdir -v -p build/${EXPORT_NAME}-Linux-64bit build/${EXPORT_NAME}-Linux-32bit build/${EXPORT_NAME}-Linux-ARM64 build/${EXPORT_NAME}-Linux-ARM32 ~/.local/share/godot/export_templates mkdir -v -p build/${EXPORT_NAME}-Linux-64bit build/${EXPORT_NAME}-Linux-32bit build/${EXPORT_NAME}-Linux-ARM64 build/${EXPORT_NAME}-Linux-ARM32 ~/.local/share/godot/export_templates
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Import resources once 📦
continue-on-error: true
run: godot --headless -v --import
- name: Linux Build 🔧 - name: Linux Build 🔧
run: | run: |
godot --headless -v --export-release "Linux/X11 64-bit" ./build/${EXPORT_NAME}-Linux-64bit/${EXPORT_NAME}.x86_64 godot --headless -v --export-release "Linux/X11 64-bit" ./build/${EXPORT_NAME}-Linux-64bit/${EXPORT_NAME}.x86_64
@ -149,6 +155,9 @@ jobs:
unzip -a Godot_v${GODOT_VERSION}-stable_macos.universal.zip unzip -a Godot_v${GODOT_VERSION}-stable_macos.universal.zip
- name: Setup 💻 - name: Setup 💻
run: mkdir -v -p ./build/mac run: mkdir -v -p ./build/mac
- name: Import resources once 📦
continue-on-error: true
run: ./Godot.app/Contents/MacOS/Godot --headless -v --import
- name: Mac Build 🔧 - name: Mac Build 🔧
run: | run: |
chown runner ./Godot.app/Contents/MacOS/Godot chown runner ./Godot.app/Contents/MacOS/Godot
@ -197,6 +206,9 @@ jobs:
run: | run: |
mkdir -v -p build/web ~/.local/share/godot/templates mkdir -v -p build/web ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Import resources once 📦
continue-on-error: true
run: godot --headless -v --import
- name: Web Build 🔧 - name: Web Build 🔧
run: godot --headless -v --export-release "Web" ./build/web/index.html run: godot --headless -v --export-release "Web" ./build/web/index.html
- name: Install rsync 📚 - name: Install rsync 📚

View file

@ -12,7 +12,7 @@ config_version=5
config/name="Pixelorama" config/name="Pixelorama"
config/description="A free & open-source 2D sprite editor" config/description="A free & open-source 2D sprite editor"
config/version="v1.0-beta1" config/version="v1.0-beta2"
run/main_scene="res://src/Main.tscn" run/main_scene="res://src/Main.tscn"
config/use_custom_user_dir=true config/use_custom_user_dir=true
config/custom_user_dir_name="pixelorama" config/custom_user_dir_name="pixelorama"