generated from juliandittmann/AL.Template
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (44 loc) · 1.46 KB
/
nextmajor.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
name: "Next Major"
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
env:
version: nextmajor
appVersion: '19.1'
appBuild: 2147483647
appRevision: 0
defaults:
run:
shell: PowerShell
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Azure Login
uses: Azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Azure key vault - Get Secrets
uses: Azure/[email protected]
with:
keyvault: "juliandittmann"
secrets: 'CodeSignCertPfxFile, CodeSignCertPfxPassword, InsiderSasToken'
id: azureGetSecretAction
- name: Run pipeline
uses: juliandittmann/[email protected]
with:
version: ${{env.version}}
appVersion: ${{env.appVersion}}
appBuild: ${{env.appBuild}}
appRevision: ${{env.appRevision}}
ApplicationInsightsConnectionString: ${{ secrets.ApplicationInsightsConnectionString }}
InsiderSasToken: ${{ steps.azureGetSecretAction.outputs.InsiderSasToken }}
CodeSignCertPfxFile: ${{ steps.azureGetSecretAction.outputs.CodeSignCertPfxFile }}
CodeSignCertPfxPassword: ${{ steps.azureGetSecretAction.outputs.CodeSignCertPfxPassword }}
- name: Publish Test Results
uses: mikepenz/action-junit-report@v1
with:
report_paths: 'testresults*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}