@@ -7,15 +7,6 @@ name: Publish to Azure Artifacts
7
7
8
8
on :
9
9
workflow_dispatch :
10
- inputs :
11
- timeout :
12
- description : " Timeout before we stop trying (in milliseconds) for action-workflow-run-wait step"
13
- required : true
14
- default : ' 1800000'
15
- delay :
16
- description : " delay between status checks (in milliseconds) for action-workflow-run-wait step"
17
- required : true
18
- default : ' 10000'
19
10
20
11
workflow_run :
21
12
workflows : ["InitDev, Smoke Tests", "InitDev, Unit tests, Integration tests, Package", "InitDev, MultiTenancy"]
25
16
26
17
permissions : read-all
27
18
19
+ concurrency :
20
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
21
+ cancel-in-progress : true
22
+
28
23
env :
29
24
AZURE_ARTIFACT_URL : " https://pkgs.dev.azure.com/ed-fi-alliance/Ed-Fi-Alliance-OSS/_packaging/EdFi/nuget/v3/index.json"
30
25
AZURE_ARTIFACT_NUGET_KEY : ${{ secrets.AZURE_ARTIFACTS_PERSONAL_ACCESS_TOKEN }}
33
28
REPOSITORY_OWNER : ${{ GITHUB.REPOSITORY_OWNER }}
34
29
35
30
jobs :
31
+ assert-all-required-workflows-succeeded :
32
+ runs-on : ubuntu-24.04
33
+ steps :
34
+ - uses : ahmadnassri/action-workflow-run-wait@2aa3d9e1a12ecaaa9908e368eaf2123bb084323e # v1.4.4
35
+ with :
36
+ timeout : 1800000
37
+ delay : 10000
38
+
36
39
FindStandardAndExtensionVersions :
40
+ needs : assert-all-required-workflows-succeeded
37
41
uses : Ed-Fi-Alliance-OSS/Ed-Fi-ODS/.github/workflows/Find Standard and Extension Versions.yml@874b608a0f3a14243e0035dd1222169fafcbe8d3
38
42
with :
39
43
calling_branch : ${{ github.head_ref || github.ref_name }}
40
44
41
45
build :
42
46
43
47
runs-on : ubuntu-24.04
44
- if : ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
45
48
needs : FindStandardAndExtensionVersions
46
49
47
50
strategy :
55
58
with :
56
59
repository : Ed-Fi-Alliance-OSS/Ed-Fi-ODS-Implementation
57
60
path : Ed-Fi-ODS-Implementation/
58
- - name : Wait for ["InitDev, Smoke Tests", "InitDev, Unit tests, Integration tests, Package", "InitDev, MultiTenancy"] workflows to Complete
59
- uses : ahmadnassri/action-workflow-run-wait@2aa3d9e1a12ecaaa9908e368eaf2123bb084323e # v1.4.4
60
- with :
61
- timeout : ${{inputs.timeout}}
62
- delay : ${{inputs.delay}}
63
61
- name : Check for Azure token
64
62
if : ${{ env.REPOSITORY_OWNER == 'Ed-Fi-Alliance-OSS' && env.AZURE_ARTIFACT_NUGET_KEY == '' }}
65
63
run : |
0 commit comments