Skip to content

Commit 402b0a0

Browse files
committed
Set up CI with Azure Pipelines
[skip ci]
1 parent 0e554f1 commit 402b0a0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

azure-pipelines.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
trigger: none # Entspricht 'workflow_dispatch'
2+
3+
name: Build-self-hosted-O64
4+
5+
pool:
6+
name: Self-hosted Runner
7+
demands:
8+
- Agent.OS -equals Windows
9+
10+
variables:
11+
ACCESS_TOKEN: $(ACCESS_TOKEN)
12+
13+
steps:
14+
- checkout: self
15+
persistCredentials: true
16+
17+
- task: PowerShell@2
18+
displayName: 'Build Access file (accdb/accde)'
19+
inputs:
20+
targetType: inline
21+
script: |
22+
# Starte das PowerShell-Skript direkt wie es in der Composite-Action gemacht wird
23+
$sourceDir = "source"
24+
$targetDir = ""
25+
$compile = $false
26+
$vcsUrl = "https://api.github.com/repos/josef-poetzl/msaccess-vcs-addin/releases/latest"
27+
28+
$scriptPath = "C:/Daten/Projekte/CodeLib/msaccess-vcs-build/Build.ps1"
29+
& $scriptPath -SourceDir $sourceDir -TargetDir $targetDir -Compile $compile -vcsUrl $vcsUrl
30+
timeoutInMinutes: 10
31+
32+
- task: PublishBuildArtifacts@1
33+
displayName: 'Upload Build Artifact'
34+
inputs:
35+
PathtoPublish: 'bin'
36+
ArtifactName: 'Binary files'
37+
publishLocation: 'Container'

0 commit comments

Comments
 (0)