Skip to content

Commit

Permalink
Update workflow for Godot 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
h4de5 authored Jul 12, 2023
1 parent c88bbb4 commit 7836d84
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/godot-export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ name: "godot export"
on:
push:
branches:
- main
- 4.0
- "main"
- "4.0"
- "v*"
# on:
# push:
# tags:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7836d84

Please sign in to comment.