Skip to content

Commit 9ac9239

Browse files
committed
ci: Fix main.yml
:
1 parent ee6b874 commit 9ac9239

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,30 +29,34 @@ jobs:
2929
import-time: 300
3030
assert-check: true
3131
# Allowing some fails on push, as sometimes randomly some asserts might false negative and I haven't yet located the precice reason for this inconsistency
32-
max-fails: 5
32+
max-fails: 0
3333
# How long the test should be run before it's timed out and fails
3434
test-timeout: 3600
3535
# Directory containing Gut tests
3636
direct-scene: tests/cli/tests.tscn
3737
version_and_release:
38+
runs-on: ubuntu-latest
39+
name: Export Game
40+
needs: ["GUT"]
41+
steps:
42+
- name: "✔️ Checkout"
43+
uses: actions/checkout@v2
44+
with:
45+
fetch-depth: 0
3846
- name: "🤖 Export game"
39-
if: ${{ steps.release.outputs.version != '' }}
4047
uses: firebelley/[email protected]
4148
with:
4249
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_linux_headless.64.zip
4350
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_export_templates.tpz
4451
relative_project_path: ./
45-
base_version: "${{ steps.release.outputs.version }}"
52+
base_version: Demo
4653
create_release: false
4754
archive_export_output: true
48-
export_debug: true
4955
- name: "🛠 Prepare files for publishing"
50-
if: ${{ steps.release.outputs.version != '' }}
5156
shell: bash
5257
run: |
5358
cp -v /home/runner/.local/share/godot/dist/* .
5459
- name: "🚀 Upload HTML5 version to itch.io"
55-
if: ${{ steps.release.outputs.version != '' }}
5660
uses: josephbmanley/butler-publish-itchio-action@master
5761
env:
5862
BUTLER_CREDENTIALS: "${{ secrets.BUTLER_CREDENTIALS }}"

0 commit comments

Comments
 (0)