This commit is contained in:
@ -18,32 +18,32 @@ jobs:
|
|||||||
- name: Create test file
|
- name: Create test file
|
||||||
run: echo "test" > test.txt
|
run: echo "test" > test.txt
|
||||||
- name: Upload Small Artifact
|
- name: Upload Small Artifact
|
||||||
uses: christopherhx/gitea-upload-artifact@v3
|
uses: christopherhx/gitea-upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test
|
name: test
|
||||||
path: test.txt
|
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
|
# # 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
|
# # By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
|
||||||
- name: Install Node.js
|
# - name: Install Node.js
|
||||||
run: |
|
# run: |
|
||||||
apt-get update
|
# apt-get update
|
||||||
apt-get install -y curl
|
# apt-get install -y curl
|
||||||
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
# curl -fsSL https://deb.nodesource.com/setup_18.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/
|
||||||
- name: Windows Build
|
# - name: Windows Build
|
||||||
run: |
|
# run: |
|
||||||
mkdir -v -p build/windows
|
# mkdir -v -p build/windows
|
||||||
EXPORT_DIR="$(readlink -f build)"
|
# EXPORT_DIR="$(readlink -f build)"
|
||||||
cd $PROJECT_PATH
|
# cd $PROJECT_PATH
|
||||||
godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
|
# godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
|
||||||
|
|
||||||
# - name: Upload Artifact
|
# - name: Upload Artifact
|
||||||
# # uses: actions/upload-artifact@v3
|
# # uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user