-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (46 loc) · 1.19 KB
/
build-accdb.yml
File metadata and controls
52 lines (46 loc) · 1.19 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
49
50
51
52
name: Build-accdb (on push, pull)
on:
push:
branches:
- main
- feature/**
- bugfix/**
paths:
- 'source/**'
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: write
id-token: write
attestations: write
jobs:
build:
runs-on: [self-hosted, Windows, Office]
steps:
- name: "Checkout code for release tag"
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
- name: "Build Access file (accdb/accde)"
id: build_access_file
uses: AccessCodeLib/msaccess-vcs-build@main
with:
source-dir: "source"
target-dir: "access-add-in"
file-name: "ACLibImportWizard.accda"
app-config: "deployment/AddIn-Config.json"
timeout-minutes: 10
- name: "Upload Build Artifact"
uses: actions/upload-artifact@v4
id: "upload"
with:
name: "Install files"
path: "./access-add-in/*"
if-no-files-found: warn
- name: "Attestation"
uses: actions/attest-build-provenance@v2
with:
subject-name: "BInstall files"
subject-digest: sha256:${{ steps.upload.outputs.artifact-digest }}