Test Access Build #36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Access Build | |
| on: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: windows-2025 | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Access runtime | |
| uses: DecimalTurn/setup-vba@797e4a232699a98507cb4411d5bea3697427ad57 # v0.3.0 | |
| with: | |
| office-apps: Access | |
| install-office: true | |
| - name: Build Access database from source | |
| uses: DecimalTurn/msaccess-vcs-build@v5-prep | |
| with: | |
| source-dir: "./tests/Testing.accdb.src" | |
| target-dir: "./tests/out" | |
| compile: "false" | |
| vcs-url: "https://api.github.com/repos/DecimalTurn/msaccess-vcs-addin/releases/tags/v5.0.1-dev" | |
| timeout-minutes: 10 | |
| - name: Upload screenshots | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: screenshots | |
| path: ./screenshots/* | |
| if-no-files-found: ignore | |
| - name: Verify build output | |
| if: always() | |
| shell: pwsh | |
| run: | | |
| $out = Get-ChildItem ./tests/out -Recurse -File | |
| if (-not $out) { | |
| Write-Error "No build output found!" | |
| exit 1 | |
| } | |
| Write-Host "Build output:" | |
| $out | ForEach-Object { Write-Host " $($_.FullName) ($($_.Length) bytes)" } |