Skip to content

Commit 266059e

Browse files
committed
attempt to fix checkout
1 parent 119f0b5 commit 266059e

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

azure-pipelines.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,19 @@ jobs:
1313
pool:
1414
name: 'AutomationStudioPool' # Specify your custom agent pool name here
1515
steps:
16-
- task: checkout@2 # Corrected task name
17-
inputs:
18-
submodules: true
19-
path: "main"
20-
lfs: true
21-
- script: |
22-
cd ./main
23-
git lfs pull
24-
displayName: 'Fix LFS'
16+
- checkout: self # Required as first property. Configures checkout for the specified repository.
17+
clean: true
18+
fetchDepth: 0
19+
fetchTags: true
20+
lfs: true
21+
persistCredentials: true
22+
submodules: recursive
23+
path: "main"
24+
displayName: 'Checkout repository'
25+
# - script: |
26+
# cd ./main
27+
# git lfs pull
28+
# displayName: 'Fix LFS'
2529
- script: python.exe C:/Tools/AsPython/InstallUpgrades.py $(Build.SourcesDirectory)/main/upgrades -asp AS411 -r --logLevel DEBUG
2630
displayName: 'Install AS upgrades'
2731
- script: python.exe C:/Tools/AsPython/CmdLineBuild.py $(Build.SourcesDirectory)/main/example/AsProject/AsProject.apj -c Intel ARM -bm Rebuild -sim --logLevel DEBUG

0 commit comments

Comments
 (0)