gh-actions: Update path of build folder
This commit is contained in:
30
.github/workflows/godot-ci.yml
vendored
30
.github/workflows/godot-ci.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
name: Windows Export
|
name: Windows Export
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: docker://barichello/godot-ci:3.2.1
|
image: barichello/godot-ci:3.2.1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
@@ -20,14 +20,14 @@ jobs:
|
|||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
||||||
- name: Windows Build
|
- name: Windows Build
|
||||||
run: |
|
run: |
|
||||||
cd test-project
|
|
||||||
mkdir -v -p build/windows
|
mkdir -v -p build/windows
|
||||||
godot -v --export "Windows Desktop" ./build/windows/$EXPORT_NAME.exe
|
cd test-project
|
||||||
|
godot -v --export "Windows Desktop" ../build/windows/$EXPORT_NAME.exe
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: windows
|
name: windows
|
||||||
path: test-project/build/windows/
|
path: build/windows
|
||||||
|
|
||||||
export-linux:
|
export-linux:
|
||||||
name: Linux Export
|
name: Linux Export
|
||||||
@@ -43,20 +43,20 @@ jobs:
|
|||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
||||||
- name: Linux Build
|
- name: Linux Build
|
||||||
run: |
|
run: |
|
||||||
cd test-project
|
|
||||||
mkdir -v -p build/linux
|
mkdir -v -p build/linux
|
||||||
godot -v --export "Linux/X11" ./build/linux/$EXPORT_NAME.x86_64
|
cd test-project
|
||||||
|
godot -v --export "Linux/X11" ../build/linux/$EXPORT_NAME.x86_64
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: linux
|
name: linux
|
||||||
path: test-project/build/linux/
|
path: build/linux
|
||||||
|
|
||||||
export-web:
|
export-web:
|
||||||
name: Web Export
|
name: Web Export
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: docker://barichello/godot-ci:3.2.1
|
image: barichello/godot-ci:3.2.1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
@@ -66,20 +66,20 @@ jobs:
|
|||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
||||||
- name: Web Build
|
- name: Web Build
|
||||||
run: |
|
run: |
|
||||||
cd test-project
|
|
||||||
mkdir -v -p build/web
|
mkdir -v -p build/web
|
||||||
godot -v --export "HTML5" ./build/web/index.html
|
cd test-project
|
||||||
|
godot -v --export "HTML5" ../build/web/index.html
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: web
|
name: web
|
||||||
path: test-project/build/web/
|
path: build/web
|
||||||
|
|
||||||
export-mac:
|
export-mac:
|
||||||
name: Mac Export
|
name: Mac Export
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: docker://barichello/godot-ci:3.2.1
|
image: barichello/godot-ci:3.2.1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
@@ -89,11 +89,11 @@ jobs:
|
|||||||
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
|
||||||
- name: Mac Build
|
- name: Mac Build
|
||||||
run: |
|
run: |
|
||||||
|
mkdir -v -p build/mac
|
||||||
cd test-project
|
cd test-project
|
||||||
mkdir -v -p build/mac
|
godot -v --export "Mac OSX" ../build/mac/$EXPORT_NAME.zip
|
||||||
godot -v --export "Mac OSX" ./build/mac/$EXPORT_NAME.zip
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: mac
|
name: mac
|
||||||
path: test-project/build/mac/
|
path: build/mac
|
||||||
|
|||||||
Reference in New Issue
Block a user