@@ -23,36 +23,36 @@ jobs:
23
23
id : build_vba
24
24
uses : ./
25
25
with :
26
- source-dir : " ./" # Don't build anything, but include the setup part of the action
26
+ source-dir : " ./tests_access " # Don't build anything, but include the setup part of the action
27
27
test-framework : " none"
28
28
timeout-minutes : 20
29
29
- name : " Build Access Database (using msaccess-vcs-build action)"
30
30
id : build_access_file
31
31
uses : AccessCodeLib/msaccess-vcs-build@main
32
32
with :
33
- source-dir : " ./tests /AccessDatabase.accde"
34
- target-dir : " ./tests /out"
33
+ source-dir : " ./tests_access /AccessDatabase.accde"
34
+ target-dir : " ./tests_access /out"
35
35
compile : " false"
36
36
vcs-url : " https://api.github.com/repos/josef-poetzl/msaccess-vcs-addin/releases/tags/v4.1.2-build"
37
37
- name : " Upload Build Artifact"
38
38
uses : actions/upload-artifact@v4
39
39
id : " upload"
40
40
with :
41
41
name : " VBA-Enabled-Documents"
42
- path : " ./tests /out/*"
42
+ path : " ./tests_access /out/*"
43
43
if-no-files-found : warn
44
44
- name : " Take exiting screenshot"
45
45
if : always()
46
46
run : |
47
47
. "./scripts/utils/Screenshot.ps1"
48
48
# Create the directory if it does not exist
49
- if (!(Test-Path -Path ${{ github.workspace }}/tests /screenshots)) {
50
- New-Item -ItemType Directory -Path ${{ github.workspace }}/tests /screenshots
49
+ if (!(Test-Path -Path ${{ github.workspace }}/tests_access /screenshots)) {
50
+ New-Item -ItemType Directory -Path ${{ github.workspace }}/tests_access /screenshots
51
51
}
52
52
# Minimize PowerShell window
53
53
. "./scripts/utils/Minimize.ps1"
54
54
Minimize-Window "Administrator: C:\Program Files\PowerShell\7\pwsh.EXE"
55
- Take-Screenshot -OutputPath ${{ github.workspace }}/tests /screenshots/ExitScreenshot.png
55
+ Take-Screenshot -OutputPath ${{ github.workspace }}/tests_access /screenshots/ExitScreenshot.png
56
56
shell : pwsh
57
57
# TODO: Check if better method to visualize the screenshots: https://github.com/actions/upload-artifact/issues/14
58
58
- name : " Upload Screenshots"
61
61
uses : actions/upload-artifact@v4
62
62
with :
63
63
name : " Screenshots"
64
- path : " ./tests /screenshots/*"
64
+ path : " ./tests_access /screenshots/*"
65
65
if-no-files-found : warn
66
66
- name : " Attestation"
67
67
uses : actions/attest-build-provenance@v2
0 commit comments