Skip to content

Commit 91e3d53

Browse files
committed
Refactor Setup4d download step in build workflow to specify target directory
1 parent dbe1600 commit 91e3d53

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,14 @@ jobs:
5959
token: ${{ secrets.GH_4D_ACTION_TOKEN }}
6060
path: .github/actions/setup4d-action
6161

62-
- name: Download Setup4d
62+
- name: Download Setup4d to ${{ github.workspace }}/${{ github.event.repository.name }}_UnitTests/Work/ directory
6363
uses: ./.github/actions/setup4d-action
6464
with:
6565
product-line: ${{env.SETUP4D_PRODUCT_LINE}}
6666
version: ${{env.SETUP4D_VERSION}}
6767
build-number: ${{env.SETUP4D_BUILDNUMBER}}
6868
token: ${{ secrets.SETUP4D_DL_TOKEN }}
69-
70-
- name: Move 4DSetup work directory to UnitTests project Work directory
71-
run: |
72-
mv ${{ github.workspace }}/.github/actions/setup4d-action/work/ ${{ github.workspace }}/${{ github.event.repository.name }}_UnitTests/Work/
69+
work-directory: ${{ github.workspace }}/${{ github.event.repository.name }}_UnitTests/Work/
7370

7471
- name: 🏗️ Build ${{ github.event.repository.name }}_UnitTests
7572
uses: 4d/build4d-action@main

0 commit comments

Comments
 (0)