export.yml
| -rw-r--r-- | .github/workflows/export.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/export.yml b/.github/workflows/export.yml new file mode 100644 index 0000000..e6b6e23 --- /dev/null +++ b/.github/workflows/export.yml @@ -0,0 +1,30 @@ +# Whenever a push is made to the master branch then run the job +on: + push: + branches: + - main + +jobs: + # job id, can be anything + export_game: + # Always use ubuntu-latest for this action + runs-on: ubuntu-latest + # Job name, can be anything + name: export + steps: + # Always include the checkout step so that + # your project is available for Godot to export + - name: checkout + uses: actions/[email protected] + - name: export game + # Use latest version (see releases for all versions) + + uses: firebelley/[email protected] + with: + # Defining all the required inputs + # I used the mono version of Godot in this example + godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/3.4.2/Godot_v3.4.2-stable_linux_headless.64.zip + godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/3.4.2/Godot_v3.4.2-stable_export_templates.tpz + relative_project_path: ./ + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |