yeslayla / build-godot-action

GitHub action that builds a Godot project for multiple platforms
https://github.com/josephbmanley/build-godot-action
MIT License
116 stars 24 forks source link

Fails to build #15

Closed Jatoxo closed 3 years ago

Jatoxo commented 3 years ago
ERROR: _fs_changed: Invalid export preset name: windows. Make sure `export_presets.cfg` is present in the current directory.
   At: editor/editor_node.cpp:753

This error appears for linux, mac, and windows

The export presets are as they should be, and are in the the same directory as project.godot

export_presets.zip

The job, yml is located at the default location

jobs:
  Godot:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        platform: [windows, linux, mac]
    steps:
      - uses: actions/checkout@v2
        with:
          lfs: true
      - name: Build
        id: build
        uses: josephbmanley/build-godot-action@v1.4.0
        with:
          name: StructureMaker
          preset: ${{ matrix.platform }}
          debugMode: "false"
      - name: Upload Artifact
        uses: actions/upload-artifact@v2
        with:
          name: Client - ${{ matrix.platform }}
          path: ${{ github.workspace }}/${{ steps.build.outputs.build }}
yeslayla commented 3 years ago

Hi @Jatoxo! :wave:

So you're using v1.4.0. Try updating to v1.4.1 which has a bugfix related to file paths.

If that doesn't fix it, I can give a look into your specific project.

Thanks!

EDIT: I noticed it was using the old version in the example, apologies for that!

Jatoxo commented 3 years ago

Great, now it works just fine!