Godot 4.1 conversion #264
Workflow file for this run
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: Builds a Snapshot | |
on: | |
# Triggers the workflow on push or pull request | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download latest earthly | |
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'" | |
- name: Earthly version | |
run: earthly --version | |
- name: Run build | |
run: | | |
cd game | |
mv export_presets.snapshot.cfg export_presets.cfg | |
cd .. | |
earthly +build | |
# Publish Artifacts for download | |
- name: Publish Windows | |
uses: actions/upload-artifact@v3 | |
with: | |
name: windows | |
path: builds/windows | |
- name: Publish Linux | |
uses: actions/upload-artifact@v3 | |
with: | |
name: linux | |
path: builds/linux | |
- name: Publish HTMl5 | |
uses: actions/upload-artifact@v3 | |
with: | |
name: html5 | |
path: builds/html5 |