name: Configurator Build on: push: branches: [feat/godot-configurator] tags: - "v*" pull_request: branches: [feat/godot-configurator] workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: lfs: true - name : exportGame uses: firebelley/godot-export@v5.2.1 with: cache: true godot_executable_download_url: https://download.tuxfamily.org/godotengine/4.2.2/Godot_v4.2.2-stable_linux.x86_64.zip godot_export_templates_download_url: https://download.tuxfamily.org/godotengine/4.2.2/Godot_v4.2.2-stable_export_templates.tpz relative_project_path: ./tools/configurator relative_export_path: ../../ archive_output: true archive_root_folder: true export_as_pack: true - name: Upload Linux artifact uses: actions/upload-artifact@v4 with: name: Godot Linux Configurator path: /home/runner/work/linux.zip - name: create release uses: ncipollo/release-action@v1.12.0 with: token: ${{ secrets.GITHUB_TOKEN }} generateReleaseNotes: true tag: ${{ github.ref_name }} artifacts: ${{ steps.export.outputs.archive_directory }}/* - name: Upload Linux Release Asset id: upload-linux-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: linux.zip asset_name: Godot_Linux.zip asset_content_type: application/zip