Patch workflow (again.) #32
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
name: Godot Export | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Remove Android export preset | |
run: grep -v -U -e "(?s)\[preset\.6\].*" export_presets.cfg > new_export_presets.cfg && mv -f new_export_presets.cfg export_presets.cfg | |
- uses: actions/checkout@v3 | |
- name: Godot Export | |
uses: firebelley/godot-export@v5.2.1 | |
with: | |
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 | |
archive_output: true | |
cache: true | |
relative_export_path: ./ | |
verbose: true | |
- name: Upload Windows x86_64 Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-x86_64-build | |
path: /home/runner/work/LittleRage/LittleRage/WindowsX86_64.zip | |
retention-days: 5 | |
- name: Upload Windows arm64 Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-arm64-build | |
path: /home/runner/work/LittleRage/LittleRage/WindowsArm64.zip | |
retention-days: 5 | |
- name: Upload Linux x86_64 Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: linux-x86_64-build | |
path: /home/runner/work/LittleRage/LittleRage/LinuxX86_64.zip | |
retention-days: 5 | |
- name: Upload Linux Arm64 Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: linux-arm64-build | |
path: /home/runner/work/LittleRage/LittleRage/LinuxArm64.zip | |
retention-days: 5 | |
- name: Upload MacOS Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: macos-build | |
path: /home/runner/work/LittleRage/LittleRage/macOS.zip | |
retention-days: 5 |