Skip to content

Commit 57a5048

Browse files
committed
Update action inputs and improve office-app description
1 parent 6523d0e commit 57a5048

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/tests_access.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: build_vba
2424
uses: ./
2525
with:
26-
source-dir: "./tests_access" # Don't build anything, but include the setup part of the action
26+
source-dir: "./tests_access"
2727
test-framework: "none"
2828
office-app: "Access"
2929
timeout-minutes: 20

action.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ inputs:
1515
required: false
1616
default: 'none'
1717
office-app:
18-
description: 'The Office application to install seperated by commas. Options: Excel, Word, PowerPoint or Access'
18+
description: |
19+
The Office application to install.
20+
The default mode is automatic and will detect the app based on the folder name.
21+
To force a specific app instead, use the options: Excel, Word, PowerPoint or Access.
1922
required: false
2023
default: 'automatic'
2124

@@ -43,7 +46,11 @@ runs:
4346
shell: pwsh
4447
- name: "Run VBA Build"
4548
shell: pwsh
46-
run: '${{ github.action_path }}\Main.ps1 -SourceDir "${{ inputs.source-dir }}" -TestFramework "${{ inputs.test-framework }}"'
49+
run: |
50+
${{ github.action_path }}\Main.ps1 `
51+
-SourceDir "${{ inputs['source-dir'] }}" `
52+
-TestFramework "${{ inputs['test-framework'] }}" `
53+
-OfficeAppDetection "${{ inputs['office-app'] }}"
4754
outputs:
4855
result:
4956
description: "The result of the VBA build process."

0 commit comments

Comments
 (0)