diff --git a/.gitea/workflows/godot-ci.yml b/.gitea/workflows/godot-ci.yml index 4a25e97..bdbb0da 100644 --- a/.gitea/workflows/godot-ci.yml +++ b/.gitea/workflows/godot-ci.yml @@ -27,34 +27,34 @@ jobs: curl -fsSL https://deb.nodesource.com/setup_18.x | bash - apt-get install -y nodejs - - name: Create test file - run: echo "test" > test.txt - - name: Upload Small Artifact - uses: https://gitea.com/actions/checkout@v3 + # - name: Create test file + # run: echo "test" > test.txt + # - name: Upload Small Artifact + # uses: https://gitea.com/actions/checkout@v3 + # with: + # name: test + # path: test.txt + - name: Checkout + uses: actions/checkout@v4 with: - name: test - path: test.txt - # - name: Checkout - # uses: actions/checkout@v4 - # with: - # lfs: true - # - name: Setup - # run: | - # mkdir -v -p ~/.local/share/godot/export_templates/ - # mkdir -v -p ~/.config/ - # - name: Windows Build - # run: | - # mkdir -v -p build/windows - # EXPORT_DIR="$(readlink -f build)" - # cd $PROJECT_PATH - # godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe" + lfs: true + - name: Setup + run: | + mkdir -v -p ~/.local/share/godot/export_templates/ + mkdir -v -p ~/.config/ + - name: Windows Build + run: | + mkdir -v -p build/windows + EXPORT_DIR="$(readlink -f build)" + cd $PROJECT_PATH + godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe" - # - name: Upload Artifact - # # uses: actions/upload-artifact@v3 - # uses: christopherhx/gitea-upload-artifact@v4 # the github action doens't work with gitea, so use this community versions hehe - # with: - # name: windows - # path: build/windows + - name: Upload Artifact + uses: https://gitea.com/actions/checkout@v4 + #uses: christopherhx/gitea-upload-artifact@v4 # the github action doens't work with gitea, so use this community versions hehe + with: + name: windows + path: build/windows # export-linux: # name: Linux Export diff --git a/export_presets.cfg b/export_presets.cfg index 462cc77..6fe7d84 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -23,7 +23,7 @@ script_export_mode=2 custom_template/debug="build/build_dependencies/export_templates/godot.windows.template_debug.x86_64.exe" custom_template/release="build/build_dependencies/export_templates/godot.windows.template_release.x86_64.exe" debug/export_console_wrapper=1 -binary_format/embed_pck=false +binary_format/embed_pck=true texture_format/s3tc_bptc=true texture_format/etc2_astc=false binary_format/architecture="x86_64"