forked from teocomi/BCFier
-
Notifications
You must be signed in to change notification settings - Fork 0
65 lines (63 loc) · 2.4 KB
/
continuous.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
name: continuous
on: [push]
jobs:
tests:
name: tests
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Tests
run: ./build.ps1 Tests -Configuration Debug
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: Test Results (${{ runner.os }})
path: output/**/*_testresults.xml
upload-docs:
needs: tests
name: upload-docs
runs-on: windows-latest
env:
GitHubAuthenticationToken: ${{ secrets.GITHUB_TOKEN }}
DocuApiKey: ${{ secrets.DOCUAPIKEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: UploadDocumentation+PublishGitHubRelease
run: ./build.ps1 UploadDocumentation+PublishGitHubRelease
upload-electron-app:
needs: upload-docs
name: upload-electron-app
runs-on: windows-latest
env:
GitHubAuthenticationToken: ${{ secrets.GITHUB_TOKEN }}
DocuApiKey: ${{ secrets.DOCUAPIKEY }}
CodeSigningCertificateKeyVaultBaseUrl: ${{ secrets.CODESIGNINGKEYVAULTBASEURL }}
KeyVaultClientId: ${{ secrets.CODESIGNINGKEYVAULTCLIENTID }}
KeyVaultClientSecret: ${{ secrets.CODESIGNINGKEYVAULTCLIENTSECRET }}
CodeSigningKeyVaultTenantId: ${{ secrets.CODESIGNINGKEYVAULTTENANTID }}
CodeSigningCertificateName: ${{ secrets.CODESIGNINGKEYVAULTCERTIFICATENAME }}
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: UploadElectronApp
run: ./build.ps1 UploadElectronApp --skip UploadDocumentation BuildDocumentation BuildDocFxMetadata
upload-revit-plugin:
needs: upload-docs
name: upload-revit-plugin
runs-on: windows-latest
env:
GitHubAuthenticationToken: ${{ secrets.GITHUB_TOKEN }}
DocuApiKey: ${{ secrets.DOCUAPIKEY }}
CodeSigningCertificateKeyVaultBaseUrl: ${{ secrets.CODESIGNINGKEYVAULTBASEURL }}
KeyVaultClientId: ${{ secrets.CODESIGNINGKEYVAULTCLIENTID }}
KeyVaultClientSecret: ${{ secrets.CODESIGNINGKEYVAULTCLIENTSECRET }}
CodeSigningKeyVaultTenantId: ${{ secrets.CODESIGNINGKEYVAULTTENANTID }}
CodeSigningCertificateName: ${{ secrets.CODESIGNINGKEYVAULTCERTIFICATENAME }}
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: UploadRevitPlugin
run: ./build.ps1 UploadRevitPlugin