-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,9 @@ name: "godot export" | |
on: | ||
push: | ||
branches: | ||
- main | ||
- 4.0 | ||
- "main" | ||
- "4.0" | ||
- "v*" | ||
# on: | ||
# push: | ||
# tags: | ||
|
@@ -21,7 +22,7 @@ jobs: | |
# Always include the checkout step so that | ||
# your project is available for Godot to export | ||
- name: checkout | ||
uses: actions/checkout@v2.3.1 | ||
uses: actions/checkout@v3.3.0 | ||
# Ensure that you get the entire project history | ||
with: | ||
fetch-depth: 0 | ||
|
@@ -83,28 +84,37 @@ jobs: | |
- name: export godot | ||
# Use latest version (see releases for all versions) | ||
uses: firebelley/godot-export@v3.0.0 | ||
uses: firebelley/godot-export@v5.2.0 | ||
with: | ||
# Base version. Patch versions are incremented when this action runs. | ||
base_version: 0.0.1 | ||
# base_version: ${{ steps.tag_version.outputs.TAG_VERSION}} | ||
# Defining all the required inputs | ||
# I used the latest version of Godot in this example | ||
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.0/alpha13/Godot_v4.0-alpha13_linux_headless.64.zip | ||
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.0/alpha13/Godot_v4.0-alpha13_export_templates.tpz | ||
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.1/Godot_v4.1-stable_linux.x86_64.zip | ||
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.1/Godot_v4.1-stable_export_templates.tpz | ||
# https://downloads.tuxfamily.org/godotengine/3.4.1/rc1/ | ||
relative_project_path: ./godot | ||
archive_single_release_output: false | ||
# export_debug: false | ||
cache: true | ||
# archive_single_release_output: false | ||
export_debug: false | ||
archive_export_output: true | ||
archive_output: true | ||
generate_release_notes: true | ||
create_release: true | ||
# create_release: true | ||
use_preset_export_path: true | ||
# relative_export_path: "build" | ||
wine_path: ${{ steps.wine_install.outputs.WINE_PATH }} | ||
use_godot_3: false | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: create release | ||
uses: ncipollo/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
generateReleaseNotes: true | ||
tag: ${{ github.ref_name }} | ||
artifacts: ${{ steps.export.outputs.archive_directory }}/* | ||
|
||
- name: Deploy to GitHub Pages 🚀 | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
|