mirror of
https://github.com/yeslayla/build-godot-action.git
synced 2025-07-17 21:03:49 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
7773d38d12 | |||
7727f04a91 | |||
a35bb31c9a | |||
9179e95ab4 |
12
ReadMe.md
12
ReadMe.md
@ -42,7 +42,7 @@ jobs:
|
||||
lfs: true
|
||||
- name: Build
|
||||
id: build
|
||||
uses: josephbmanley/build-godot-action@v1.4.0
|
||||
uses: manleydev/build-godot-action@v1.4.1
|
||||
with:
|
||||
name: example
|
||||
preset: ${{ matrix.platform }}
|
||||
@ -82,7 +82,7 @@ Additionally if you are not using a matrix, you can set the export preset as the
|
||||
```yaml
|
||||
- name: Build
|
||||
id: build
|
||||
uses: josephbmanley/build-godot-action@v1.4.0
|
||||
uses: manleydev/build-godot-action@v1.4.1
|
||||
with:
|
||||
name: example
|
||||
preset: win32
|
||||
@ -95,7 +95,7 @@ To change the export name, you can the `name` parameter to whatever you want you
|
||||
```yaml
|
||||
- name: Build
|
||||
id: build
|
||||
uses: josephbmanley/build-godot-action@v1.4.0
|
||||
uses: manleydev/build-godot-action@v1.4.1
|
||||
with:
|
||||
name: test # This project will export with the name "test"
|
||||
```
|
||||
@ -107,7 +107,7 @@ This example is set to build with debug mode enable. To disable debug, either se
|
||||
```yaml
|
||||
- name: Build
|
||||
id: build
|
||||
uses: josephbmanley/build-godot-action@v1.4.0
|
||||
uses: manleydev/build-godot-action@v1.4.1
|
||||
with:
|
||||
name: example
|
||||
preset: ${{ matrix.platform }}
|
||||
@ -121,7 +121,7 @@ If your project is located in a subdirectory, you can use the `projectDir` to ch
|
||||
```yaml
|
||||
- name: Build
|
||||
id: build
|
||||
uses: josephbmanley/build-godot-action@v1.4.0
|
||||
uses: manleydev/build-godot-action@v1.4.1
|
||||
with:
|
||||
name: example
|
||||
preset: ${{ matrix.platform }}
|
||||
@ -142,7 +142,7 @@ Example:
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: josephbmanley/build-godot-action@[VERSION]
|
||||
- uses: manleydev/build-godot-action@[VERSION]
|
||||
with:
|
||||
name: godot-project
|
||||
preset: HTML5
|
||||
|
@ -19,8 +19,8 @@ fi
|
||||
# Export for project
|
||||
echo "Building $1 for $2"
|
||||
mkdir -p $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}
|
||||
cd ${5-"$GITHUB_WORKSPACE"}
|
||||
godot --${mode} $2 $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1
|
||||
cd "$GITHUB_WORKSPACE/$5"
|
||||
godot --${mode} "$2" $GITHUB_WORKSPACE/build/${SubDirectoryLocation:-""}$1
|
||||
echo "Build Done"
|
||||
|
||||
echo ::set-output name=build::build/${SubDirectoryLocation:-""}
|
||||
|
Reference in New Issue
Block a user