StickerClone/.forgejo/workflows/build.yaml
LUCASTUCIOUS 851f0d1400
Some checks failed
/ Export Game (push) Has been cancelled
add LFS ? :D
2024-07-29 12:05:44 +02:00

42 lines
No EOL
1.5 KiB
YAML

on:
push:
tags:
- "v*"
jobs:
# job id, can be anything
export_game:
# Always use ubuntu-latest for this action
runs-on: linux_amd64
# 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@v3.3.0
with:
lfs: true
- name: export game
id: export
# Use latest version (see releases for all versions)
uses: https://github.com/lucastucious/godot-export@v5.3
with:
# Defining all the required inputs
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.2.2-stable/Godot_v4.2.2-stable_linux.x86_64.zip
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.2.2-stable/Godot_v4.2.2-stable_export_templates.tpz
relative_project_path: ./
archive_output: true
cache: true
# This release action has worked well for me. However, you can most likely use any release action of your choosing.
# https://github.com/ncipollo/release-action
- name: create release
uses: https://code.forgejo.org/actions/forgejo-release@v2.2.0
with:
direction: upload
release-dir: ${{ steps.export.outputs.archive_directory }}
token: ${{ env.GITHUB_TOKEN }}
release-notes: "New build"