|
| 1 | +name: Build-self-hosted-O64-O32 |
| 2 | +on: |
| 3 | + - workflow_dispatch |
| 4 | + |
| 5 | +permissions: |
| 6 | + id-token: write |
| 7 | + attestations: write |
| 8 | + |
| 9 | +jobs: |
| 10 | + build-o64: |
| 11 | + runs-on: [self-hosted, Windows, O64] |
| 12 | + steps: |
| 13 | + - name: "Checkout" |
| 14 | + uses: actions/checkout@v4 |
| 15 | + - name: "Build Access file (accdb/accde)" |
| 16 | + id: build_access_file |
| 17 | + uses: AccessCodeLib/msaccess-vcs-build@main |
| 18 | + with: |
| 19 | + source-dir: "source" |
| 20 | + target-dir: "bin64" |
| 21 | + compile: "true" |
| 22 | + app-config: "deployment/Application-Config.json" |
| 23 | + timeout-minutes: 10 |
| 24 | + - name: "Upload Build Artifact" |
| 25 | + uses: actions/upload-artifact@v4 |
| 26 | + id: "upload" |
| 27 | + with: |
| 28 | + name: "Binary files (64 bit)" |
| 29 | + path: "./bin64/*" |
| 30 | + if-no-files-found: warn |
| 31 | + - name: "Attestation" |
| 32 | + uses: actions/attest-build-provenance@v2 |
| 33 | + with: |
| 34 | + subject-name: "Binary files (64 bit)" |
| 35 | + subject-digest: sha256:${{ steps.upload.outputs.artifact-digest }} |
| 36 | + |
| 37 | + build-o32: |
| 38 | + runs-on: [self-hosted, Windows, O32] |
| 39 | + steps: |
| 40 | + - name: "Checkout" |
| 41 | + uses: actions/checkout@v4 |
| 42 | + - name: "Build Access file (accdb/accde)" |
| 43 | + id: build_access_file |
| 44 | + uses: AccessCodeLib/msaccess-vcs-build@main |
| 45 | + with: |
| 46 | + source-dir: "source" |
| 47 | + target-dir: "bin32" |
| 48 | + compile: "true" |
| 49 | + app-config: "deployment/Application-Config.json" |
| 50 | + timeout-minutes: 10 |
| 51 | + - name: "Upload Build Artifact" |
| 52 | + uses: actions/upload-artifact@v4 |
| 53 | + id: "upload" |
| 54 | + with: |
| 55 | + name: "Binary files (32 bit)" |
| 56 | + path: "./bin32/*" |
| 57 | + if-no-files-found: warn |
| 58 | + - name: "Attestation" |
| 59 | + uses: actions/attest-build-provenance@v2 |
| 60 | + with: |
| 61 | + subject-name: "Binary files (32 bit)" |
| 62 | + subject-digest: sha256:${{ steps.upload.outputs.artifact-digest }} |
| 63 | + |
0 commit comments