Skip to content

Commit 2795cf5

Browse files
committed
update workflow files
1 parent 39cfae6 commit 2795cf5

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

.github/workflows/build-accdb.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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 }}

.github/workflows/build-release-zip-file.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ jobs:
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"

0 commit comments

Comments
 (0)