This commit is contained in:
@ -17,32 +17,32 @@ 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"
|
||||
# # 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
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
uses: christopherhx/gitea-upload-artifact@v3
|
||||
with:
|
||||
name: test
|
||||
path: test.txt
|
||||
|
||||
Reference in New Issue
Block a user