ape-ame/.github/workflows/build.yml
ultrablob 242780a974
Some checks failed
CI / build (push) Failing after 23s
Install 7zip before running export action
2025-02-03 13:18:33 -05:00

51 lines
1.8 KiB
YAML

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
GODOT_VERSION: "4.3"
GODOT_BUILD: "stable"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: docker
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: milliewalky/setup-7-zip@v2
name: Install 7zip
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
name: Checkout files
- name: export game
id: export
# Use latest version (see releases for all versions)
uses: https://github.com/firebelley/godot-export@v6.0.0
with:
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}/Godot_v${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}_linux.x86_64.zip
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}/Godot_v${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}_export_templates.tpz
relative_project_path: ./
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: Game files
path: ${{ steps.export.outputs.build_directory }}