This commit is contained in:
parent
3d6a18c21e
commit
4f499c7ead
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -27,11 +27,11 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: Build Release
|
||||
if: env.GITHUB_EVENT_NAME == "push"
|
||||
if: env.GITHUB_EVENT_NAME == 'push'
|
||||
run: echo "BUILD_TYPE=release" >> $GITHUB_ENV
|
||||
|
||||
- name: Build Debug/Beta
|
||||
if: env.GITHUB_EVENT_NAME == "pull_request"
|
||||
if: env.GITHUB_EVENT_NAME == 'pull_request'
|
||||
run: echo "BUILD_TYPE=debug" >> $GITHUB_ENV
|
||||
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
|||
mkdir -v -p build/web
|
||||
EXPORT_DIR="$(readlink -f build)"
|
||||
cd $GITHUB_WORKSPACE
|
||||
/usr/bin/godot --headless --verbose --export-$BUILD_TYPE "Web" "$EXPORT_DIR/web/index.html"
|
||||
/usr/bin/godot --headless --verbose --export-${{ env.BUILD_TYPE }} "Web" "$EXPORT_DIR/web/index.html"
|
||||
|
||||
- name: Upload Build
|
||||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue