This commit is contained in:
parent
cb53d7dada
commit
150090ceef
1 changed files with 17 additions and 17 deletions
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
|
@ -28,24 +28,24 @@ jobs:
|
|||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
|
||||
- run: sudo apt update && sudo apt install -y p7zip-full p7zip-rar
|
||||
name: Install 7zip
|
||||
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
name: Checkout files
|
||||
name: Checkout Files
|
||||
|
||||
- name: export game
|
||||
id: export
|
||||
# Use latest version (see releases for all versions)
|
||||
uses: https://github.com/firebelley/godot-export@v6.0.0
|
||||
- uses: chickensoft-games/setup-godot@v1
|
||||
name: Setup Godot
|
||||
with:
|
||||
godot_executable_download_url: https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}/Godot_v${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}_linux.arm64.zip
|
||||
godot_export_templates_download_url: https://github.com/godotengine/godot/releases/download/${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}/Godot_v${{ env.GODOT_VERSION }}-${{ env.GODOT_BUILD }}_export_templates.tpz
|
||||
relative_project_path: ./
|
||||
version: 4.3-stable
|
||||
|
||||
- name: Upload build
|
||||
- name: Build Gaame
|
||||
run: |
|
||||
mkdir -v -p build/web
|
||||
EXPORT_DIR="$(readlink -f build)"
|
||||
cd $PROJECT_PATH
|
||||
godot --headless --verbose --export-release "Web" "$EXPORT_DIR/web/index.html"
|
||||
|
||||
- name: Upload Build
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Game files
|
||||
path: ${{ steps.export.outputs.build_directory }}
|
||||
name: Web Build
|
||||
path: build/web
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue