2024-08-05 21:11:14 +00:00
|
|
|
name: Build Godot Project
|
|
|
|
|
|
|
|
on:
|
|
|
|
push: {}
|
|
|
|
pull_request: {}
|
|
|
|
|
2024-08-05 21:43:21 +00:00
|
|
|
env:
|
|
|
|
TAG: v0.006
|
|
|
|
|
2024-08-05 21:11:14 +00:00
|
|
|
jobs:
|
|
|
|
Godot:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
platform: [linux]
|
|
|
|
steps:
|
2024-08-05 21:23:43 +00:00
|
|
|
- uses: actions/checkout@v3
|
2024-08-05 21:11:14 +00:00
|
|
|
with:
|
|
|
|
lfs: true
|
|
|
|
- name: Build
|
|
|
|
id: build
|
2024-08-05 21:34:47 +00:00
|
|
|
uses: krynv/build-godot-action@v1.0.0
|
2024-08-05 21:11:14 +00:00
|
|
|
with:
|
|
|
|
name: gd-test
|
|
|
|
preset: ${{ matrix.platform }}
|
|
|
|
projectDir: "tools/configurator" # The project in the `test` directory will be built
|
|
|
|
debugMode: "true"
|
|
|
|
- name: Upload Artifact
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
2024-08-05 21:53:37 +00:00
|
|
|
name: ${{ matrix.platform }}
|
2024-08-05 21:43:21 +00:00
|
|
|
path: ${{ github.workspace }}/${{ steps.build.outputs.build }}
|
|
|
|
- name: Upload Release Asset 🚀
|
|
|
|
uses: svenstaro/upload-release-action@v2
|
|
|
|
with:
|
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
2024-08-05 21:53:37 +00:00
|
|
|
file: tools/configurator/linux.zip
|
2024-08-05 21:43:21 +00:00
|
|
|
tag: ${{env.TAG}}
|
|
|
|
overwrite: true
|
2024-08-05 21:48:53 +00:00
|
|
|
file_glob: false
|