Pat's polish #130
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: Build MVM23 Project | |
on: | |
pull_request: {} | |
jobs: | |
Build-And-Upload-Prototypes: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- name: Get current time | |
uses: srfrnk/current-time@master | |
id: current-time | |
with: | |
format: MMM DD (hh mmA [GMT]) | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Export Game | |
id: export | |
# Use latest version (see releases for all versions) | |
uses: firebelley/godot-export@v5.2.1 | |
with: | |
# Defining all the required inputs | |
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/4.2.1-stable/Godot_v4.2.1-stable_mono_linux_x86_64.zip | |
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/4.2.1-stable/Godot_v4.2.1-stable_export_templates.tpz | |
relative_project_path: ./ | |
archive_output: true | |
cache: true | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Prototype Builds - ${{ steps.current-time.outputs.formattedTime }} | |
path: ${{ steps.export.outputs.archive_directory }} | |
retention-days: 30 |