fix: fixed never ending job
Some checks failed
Build Release / Windows Export (pull_request) Failing after 2m4s
Build Release / Mac Export (pull_request) Failing after 2m4s
Build Release / Linux Export (pull_request) Failing after 2m5s
Build Release / Create Release (pull_request) Has been skipped

This commit is contained in:
2026-03-17 22:47:50 +01:00
parent fd52dc9c1c
commit 3c619c9613

View File

@@ -21,19 +21,22 @@ jobs:
run: | run: |
apt-get update apt-get update
apt-get install -y curl gnupg apt-get install -y curl gnupg
- name: Install Node.js - name: Install Node.js
run: | run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs apt-get install -y nodejs
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
lfs: true lfs: true
- name: Setup - name: Setup
run: | run: |
mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.local/share/godot/export_templates/
mkdir -v -p ~/.config/ mkdir -v -p ~/.config/
godot --headless --no-window --editor
- name: Windows Build - name: Windows Build
run: | run: |
mkdir -v -p build/windows mkdir -v -p build/windows
@@ -55,10 +58,12 @@ jobs:
run: | run: |
apt-get update apt-get update
apt-get install -y curl gnupg apt-get install -y curl gnupg
- name: Install Node.js - name: Install Node.js
run: | run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs apt-get install -y nodejs
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
@@ -66,13 +71,14 @@ jobs:
- name: Setup - name: Setup
run: | run: |
mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.local/share/godot/export_templates/
godot --headless --no-window --editor
- name: Linux Build - name: Linux Build
run: | run: |
mkdir -v -p build/linux mkdir -v -p build/linux
EXPORT_DIR="$(readlink -f build)" EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH cd $PROJECT_PATH
godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64" godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v5 uses: actions/upload-artifact@v5
with: with:
@@ -88,24 +94,28 @@ jobs:
run: | run: |
apt-get update apt-get update
apt-get install -y curl gnupg apt-get install -y curl gnupg
- name: Install Node.js - name: Install Node.js
run: | run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs apt-get install -y nodejs
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
lfs: true lfs: true
- name: Setup - name: Setup
run: | run: |
mkdir -v -p ~/.local/share/godot/export_templates/ mkdir -v -p ~/.local/share/godot/export_templates/
godot --headless --no-window --editor
- name: Mac Build - name: Mac Build
run: | run: |
mkdir -v -p build/mac mkdir -v -p build/mac
EXPORT_DIR="$(readlink -f build)" EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH cd $PROJECT_PATH
godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip" godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip"
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v5 uses: actions/upload-artifact@v5
with: with: