Skip to content

Commit

Permalink
fix: misc export and deploy workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney committed Oct 3, 2023
1 parent 653944f commit 2f7aaba
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/dino_export_and_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: "godot-ci export"
on: push
name: Godot Export and Itch Deploy
on: [ push ]

env:
GODOT_VERSION: 4.1.1
EXPORT_NAME: dino
PROJECT_PATH: .

jobs:
environment: Godot Dev Env
export-windows:
name: Windows Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.1.1
environment: Godot Dev Env
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -26,7 +26,7 @@ jobs:
run: |
mkdir -v -p dist/dino-windows
cd $PROJECT_PATH
godot -v --export "Windows Desktop" ../dist/dino-windows/$EXPORT_NAME.exe
godot --headless -v --export-release dino-windows ../dist/dino-windows/$EXPORT_NAME.exe
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
Expand All @@ -41,6 +41,7 @@ jobs:
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.1.1
environment: Godot Dev Env
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -54,7 +55,7 @@ jobs:
run: |
mkdir -v -p dist/dino-linux
cd $PROJECT_PATH
godot -v --export "Linux/X11" ../dist/dino-linux/$EXPORT_NAME.x86_64
godot --headless -v --export-release dino-linux ../dist/dino-linux/$EXPORT_NAME.x86_64
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
Expand All @@ -69,6 +70,7 @@ jobs:
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.1.1
environment: Godot Dev Env
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -82,7 +84,7 @@ jobs:
run: |
mkdir -v -p dist/dino-web
cd $PROJECT_PATH
godot -v --export "HTML5" ../dist/dino-web/index.html
godot --headless -v --export-release dino-web ../dist/dino-web/index.html
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
Expand All @@ -108,6 +110,7 @@ jobs:
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.1.1
environment: Godot Dev Env
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -121,7 +124,7 @@ jobs:
run: |
mkdir -v -p dist/dino-macos
cd $PROJECT_PATH
godot -v --export "Mac OSX" ../dist/dino-macos/$EXPORT_NAME.dmg
godot --headless -v --export-release dino-macos ../dist/dino-macos/$EXPORT_NAME.dmg
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 2f7aaba

Please sign in to comment.