File tree Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Expand file tree Collapse file tree 2 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Build-self-hosted (on release)
2+
3+ on :
4+ workflow_dispatch :
5+
6+ permissions :
7+ contents : write
8+ id-token : write
9+ attestations : write
10+
11+ jobs :
12+ build :
13+ runs-on : [self-hosted, Windows, Office]
14+
15+ steps :
16+ - name : " Checkout code for release tag"
17+ uses : actions/checkout@v4
18+ with :
19+ ref : ${{ github.event.release.tag_name }}
20+
21+ - name : " Build Access file (accdb/accde)"
22+ id : build_access_file
23+ uses : AccessCodeLib/msaccess-vcs-build@main
24+ with :
25+ source-dir : " source"
26+ target-dir : " access-add-in"
27+ timeout-minutes : 10
28+
29+ - name : " Upload Build Artifact"
30+ uses : actions/upload-artifact@v4
31+ id : " upload"
32+ with :
33+ name : " Install files"
34+ path : " ./access-add-in/*"
35+ if-no-files-found : warn
36+ - name : " Attestation"
37+ uses : actions/attest-build-provenance@v2
38+ with :
39+ subject-name : " BInstall files"
40+ subject-digest : sha256:${{ steps.upload.outputs.artifact-digest }}
Original file line number Diff line number Diff line change 2323 id : build_access_file
2424 uses : AccessCodeLib/msaccess-vcs-build@main
2525 with :
26- source-dir : " ./Version Control.accda.src "
26+ source-dir : " source "
2727 target-dir : " access-add-in"
28- vcs-url : " https://api.github.com/repos/josef-poetzl/msaccess-vcs-addin/releases/tags/v4.1.2-build"
2928 timeout-minutes : 10
3029
3130 - name : " Create versioned ZIP file"
You can’t perform that action at this time.
0 commit comments