-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (46 loc) · 1.29 KB
/
Build-self-hosted-O64-O32.yml
File metadata and controls
49 lines (46 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build-self-hosted-O64-O32
on:
- workflow_dispatch
permissions:
id-token: write
attestations: write
jobs:
build:
strategy:
matrix:
include:
- arch: O64
binfolder: bin64
label: "64 bit"
- arch: O32
binfolder: bin32
label: "32 bit"
runs-on:
- self-hosted
- Windows
- ${{ matrix.arch }}
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Build Access file (accdb/accde)"
id: build_access_file
uses: AccessCodeLib/msaccess-vcs-build@main
with:
source-dir: "source"
target-dir: "${{ matrix.binfolder }}"
compile: "true"
app-config: "deployment/Application-Config.json"
run-accunit-test: "true"
timeout-minutes: 10
- name: "Upload Build Artifact"
uses: actions/upload-artifact@v4
id: "upload"
with:
name: "Binary files (${{ matrix.label }})"
path: "./${{ matrix.binfolder }}/*"
if-no-files-found: warn
- name: "Attestation"
uses: actions/attest-build-provenance@v2
with:
subject-name: "Binary files (${{ matrix.label }})"
subject-digest: sha256:${{ steps.upload.outputs.artifact-digest }}