Skip to content

Update build.yml

Update build.yml #10

Workflow file for this run

on:
push: {}
pull_request: {}
jobs:
# job id, can be anything
export_game:
# Always use ubuntu-latest for this action
runs-on: ubuntu-latest
# Add permission for release creation. Can be made narrower according to your needs
permissions: write-all
# Job name, can be anything
name: Export Game
steps:
# Always include the checkout step so that
# your project is available for Godot to export
- name: checkout
uses: actions/checkout@v4
- name: export game
id: export
# Use latest version (see releases for all versions)
uses: firebelley/[email protected]
with:
# Defining all the required inputs
godot_executable_download_url: https://github.com/godotengine/godot-builds/releases/download/4.3-stable/Godot_v4.3-stable_linux.x86_64.zip
godot_export_templates_download_url: https://github.com/godotengine/godot-builds/releases/download/4.3-stable/Godot_v4.3-stable_export_templates.tpz
relative_project_path: ./
archive_output: true
- name: Magic Version
uses: sinkcup/magic-version@v1
env:
TAG_PREFIX: v # optional
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: demo-${{ env.MAGIC_VERSION }}
path: dist