chore: reduce upload artifact version, removed mac
This commit is contained in:
@@ -42,9 +42,9 @@ jobs:
|
|||||||
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" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v5
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows
|
name: windows
|
||||||
path: build/windows
|
path: build/windows
|
||||||
@@ -80,48 +80,11 @@ jobs:
|
|||||||
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@v4
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: build/linux
|
path: build/linux
|
||||||
|
|
||||||
export-mac:
|
|
||||||
name: Mac Export
|
|
||||||
runs-on: ubuntu-24.04 # Use 24.04 with godot 4
|
|
||||||
container: barichello/godot-ci:4.6
|
|
||||||
steps:
|
|
||||||
- name: Update and install dependencies
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y curl gnupg
|
|
||||||
|
|
||||||
- name: Install Node.js
|
|
||||||
run: |
|
|
||||||
curl -fsSL https://deb.nodesource.com/setup_20.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/
|
|
||||||
|
|
||||||
- name: Mac Build
|
|
||||||
run: |
|
|
||||||
mkdir -v -p build/mac
|
|
||||||
EXPORT_DIR="$(readlink -f build)"
|
|
||||||
cd $PROJECT_PATH
|
|
||||||
godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip"
|
|
||||||
|
|
||||||
- name: Upload Artifact
|
|
||||||
uses: actions/upload-artifact@v5
|
|
||||||
with:
|
|
||||||
name: mac
|
|
||||||
path: build/mac
|
|
||||||
|
|
||||||
create-release:
|
create-release:
|
||||||
name: Create Release
|
name: Create Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user