-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (47 loc) · 1.27 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Test
on:
push:
branches:
- main
- legacy
paths:
- Dockerfile
- entrypoint.sh
- action.yml
- .github/workflows/test.yml
- .github/workflows/dockerhub.yml
jobs:
export:
runs-on: ubuntu-latest
name: Export
steps:
- name: Checkout test project
uses: actions/checkout@v3
with:
repository: robpc/maze-test-game
ref: de79197258ede94599344579d06381a547466647 # pre-4.0
- name: Export HTML
uses: robpc/godot-export-action@legacy
with:
preset: html
export_path: build/index.html
- name: Test for the output file
run: stat ./build/index.html
export-with-project-directory:
runs-on: ubuntu-latest
name: Export with project_directory
steps:
- name: Checkout test project
uses: actions/checkout@v3
with:
repository: robpc/maze-test-game
ref: de79197258ede94599344579d06381a547466647 # pre-4.0
path: project
- name: Export HTML
uses: robpc/godot-export-action@legacy
with:
project_directory: project
preset: html
export_path: build/index.html
- name: Test for the output file
run: stat ./project/build/index.html