changed order
Some checks failed
godot-ci export / Windows Export (push) Failing after 1s

This commit is contained in:
2025-07-01 06:05:03 -07:00
parent 60fec9c0e9
commit 430c3892a9

View File

@ -7,8 +7,6 @@ env:
GODOT_VERSION: 4.4
EXPORT_NAME: test-project
PROJECT_PATH: "."
ACTIONS_STEP_DEBUG: true
ACTIONS_RUNNER_DEBUG: true
jobs:
export-windows:
@ -17,28 +15,6 @@ jobs:
container:
image: barichello/godot-ci:4.4
steps:
# # Doing this becuase barichello/godot-ci:4.4 doesn't have nodejs installed, may need to make own docker image in the future
# # By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
# - name: Install Node.js
# run: |
# apt-get update
# apt-get install -y curl
# curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
# apt-get install -y nodejs
# - name: Checkout
# uses: actions/checkout@v4
# with:
# lfs: true
# - name: Setup
# run: |
# mkdir -v -p ~/.local/share/godot/export_templates/
# mkdir -v -p ~/.config/
# - name: Windows Build
# run: |
# mkdir -v -p build/windows
# EXPORT_DIR="$(readlink -f build)"
# cd $PROJECT_PATH
# godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
- name: Create test file
run: echo "test" > test.txt
- name: Upload Small Artifact
@ -46,6 +22,29 @@ jobs:
with:
name: test
path: test.txt
# Doing this becuase barichello/godot-ci:4.4 doesn't have nodejs installed, may need to make own docker image in the future
# By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
- name: Install Node.js
run: |
apt-get update
apt-get install -y curl
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
apt-get install -y nodejs
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/export_templates/
mkdir -v -p ~/.config/
- name: Windows Build
run: |
mkdir -v -p build/windows
EXPORT_DIR="$(readlink -f build)"
cd $PROJECT_PATH
godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
# - name: Upload Artifact
# # uses: actions/upload-artifact@v3
# uses: christopherhx/gitea-upload-artifact@v4 # the github action doens't work with gitea, so use this community versions hehe