-
Notifications
You must be signed in to change notification settings - Fork 126
57 lines (43 loc) · 1.32 KB
/
BuildNewCommits.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
name: BuildNewCommits
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
prepare:
name: Prepare Matrix
runs-on: ubuntu-latest
outputs:
countries: ${{ steps.load_countries.outputs.countries }}
steps:
- name: Install BC Container Helper
shell: pwsh
run: Install-Module bccontainerhelper -force
- name: Check out the repository to the runner
uses: actions/[email protected]
with:
ref: master
- name: Load Countries
id: load_countries
shell: pwsh
run: ./scripts/GetAllCountries.ps1
- name: ShowOutput
shell: pwsh
run: Write-Host '${{ steps.load_countries.outputs.countries }}'
buildCommits:
needs: prepare
name: Build Commits
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.prepare.outputs.countries) }}
steps:
- name: Install BC Container Helper
shell: pwsh
run: Install-Module bccontainerhelper -force
- name: Check out the repository to the runner
uses: actions/[email protected]
- name: Build Commits
shell: pwsh
run: |
./scripts/Auto_load_versions.ps1 -country ${{matrix.countries}}