-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (38 loc) · 1.27 KB
/
test-build-component.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
name: Test - Build Component
on:
workflow_dispatch:
jobs:
test:
runs-on: [macos-latest]
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup
id: setup
run: |
echo "project_path=${GITHUB_WORKSPACE}/example/Project/example.4DProject" >> $GITHUB_OUTPUT
- name: get tool version
id: tool
uses: miyako/4D/.github/actions/tool4d-get-version@v1
- name: get tool4d
id: get
uses: miyako/4D/.github/actions/tool4d-download@v1
with:
platform: ${{ steps.tool.outputs.platform }}
branch: ${{ steps.tool.outputs.branch }}
version: ${{ steps.tool.outputs.version }}
build: ${{ steps.tool.outputs.build }}
arch: ${{ steps.tool.outputs.arch }}
- name: build
id: build
uses: miyako/4D/.github/actions/build-component@v1
with:
project_path: ${{ steps.setup.outputs.project_path }}
- name: print result
run: |
echo "project_path: ${project_path}"
echo "product_path: ${product_path}"
ls .
env:
project_path: ${{ steps.setup.outputs.project_path }}
product_path: ${{ steps.build.outputs.product_path }}