Skip to content

Commit 065806f

Browse files
committed
Adjust folders
1 parent 8af5ced commit 065806f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/tests_access.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,36 +23,36 @@ jobs:
2323
id: build_vba
2424
uses: ./
2525
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
2727
test-framework: "none"
2828
timeout-minutes: 20
2929
- name: "Build Access Database (using msaccess-vcs-build action)"
3030
id: build_access_file
3131
uses: AccessCodeLib/msaccess-vcs-build@main
3232
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"
3535
compile: "false"
3636
vcs-url: "https://api.github.com/repos/josef-poetzl/msaccess-vcs-addin/releases/tags/v4.1.2-build"
3737
- name: "Upload Build Artifact"
3838
uses: actions/upload-artifact@v4
3939
id: "upload"
4040
with:
4141
name: "VBA-Enabled-Documents"
42-
path: "./tests/out/*"
42+
path: "./tests_access/out/*"
4343
if-no-files-found: warn
4444
- name: "Take exiting screenshot"
4545
if: always()
4646
run: |
4747
. "./scripts/utils/Screenshot.ps1"
4848
# 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
5151
}
5252
# Minimize PowerShell window
5353
. "./scripts/utils/Minimize.ps1"
5454
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
5656
shell: pwsh
5757
# TODO: Check if better method to visualize the screenshots: https://github.com/actions/upload-artifact/issues/14
5858
- name: "Upload Screenshots"
@@ -61,7 +61,7 @@ jobs:
6161
uses: actions/upload-artifact@v4
6262
with:
6363
name: "Screenshots"
64-
path: "./tests/screenshots/*"
64+
path: "./tests_access/screenshots/*"
6565
if-no-files-found: warn
6666
- name: "Attestation"
6767
uses: actions/attest-build-provenance@v2

Main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function Get-OfficeApp {
3030
'^(xlsb|xlsm||xltm|xlam)$' { return "Excel" }
3131
'^(docm|dotm)$' { return "Word" }
3232
'^(pptm|potm|ppam)$' { return "PowerPoint" }
33-
'^(accdb|accda)$' { return "Access" }
33+
'^(accdb|accda|accde)$' { return "Access" }
3434
default { return $null }
3535
}
3636
}

0 commit comments

Comments
 (0)