Renamed "distraction free mode" to "zen mode" #298
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" | |
on: | |
push: | |
branches: [ main, godot4 ] | |
pull_request: | |
branches: [ main ] | |
env: | |
GODOT_VERSION: 4.3 | |
EXPORT_NAME: Lorien | |
LORIEN_VERSION: v0.7.0-dev | |
jobs: | |
windows-export: | |
name: Windows Export | |
runs-on: ubuntu-latest | |
container: | |
image: docker://barichello/godot-ci:4.3 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
run: | | |
mkdir -v -p build/${EXPORT_NAME}_${LORIEN_VERSION}_Windows | |
mkdir -v -p ~/.local/share/godot/export_templates | |
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable | |
- name: Build | |
run: | | |
cd lorien | |
godot --headless -v --export-release "Windows Desktop" ../build/${EXPORT_NAME}_${LORIEN_VERSION}_Windows/${EXPORT_NAME}_${LORIEN_VERSION}.exe | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Lorien Windows | |
path: build/${{ env.EXPORT_NAME }}_${{ env.LORIEN_VERSION }}_Windows | |
retention-days: 14 | |
linux-export: | |
name: Linux Export | |
runs-on: ubuntu-latest | |
container: | |
image: docker://barichello/godot-ci:4.3 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
run: | | |
mkdir -v -p build/${EXPORT_NAME}_${LORIEN_VERSION}_Linux | |
mkdir -v -p ~/.local/share/godot/export_templates | |
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable | |
- name: Build | |
run: | | |
cd lorien | |
godot --headless -v --export-release "Linux" ../build/${EXPORT_NAME}_${LORIEN_VERSION}_Linux/${EXPORT_NAME}_${LORIEN_VERSION}.x86_64 | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Lorien Linux | |
path: build/${{ env.EXPORT_NAME }}_${{ env.LORIEN_VERSION }}_Linux | |
retention-days: 14 | |
mac-export: | |
name: Mac Export | |
runs-on: ubuntu-latest | |
container: | |
image: docker://barichello/godot-ci:4.3 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
run: | | |
mkdir -v -p build/${EXPORT_NAME}_${LORIEN_VERSION}_Mac | |
mkdir -v -p ~/.local/share/godot/export_templates | |
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable | |
- name: Build | |
run: | | |
cd lorien | |
godot --headless -v --export-release "macOS" ../build/${EXPORT_NAME}_${LORIEN_VERSION}_Mac/${EXPORT_NAME}_${LORIEN_VERSION}.zip | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Lorien Mac | |
path: build/${{ env.EXPORT_NAME }}_${{ env.LORIEN_VERSION }}_Mac | |
retention-days: 14 |