1
1
on : [push, pull_request]
2
2
3
- # bincrafters-conventions:gha-workflow-version:10
3
+ # bincrafters-conventions:gha-workflow-version:14
4
4
# You can add custom environment variables above the version tag
5
5
# Do not modify the tag or anything below the tag
6
6
# This script gets automatically updated
7
7
#
8
8
# Possible configurations:
9
9
# env:
10
- # splitByBuildTypes : "false" # Possible values "false", "true", default: false
10
+ # BPT_MATRIX_SPLIT_BY_BUILD_TYPES : "false" # Possible values "false", "true", default: false
11
11
#
12
12
# You can furthermore set any environment variable understood by Conan and Conan Package Tools
13
13
#
@@ -22,11 +22,13 @@ jobs:
22
22
runs-on : ubuntu-20.04
23
23
outputs :
24
24
matrix : ${{ steps.set-matrix.outputs.matrix }}
25
+ env :
26
+ BPT_CONFIG_FILE_VERSION : " 12"
25
27
steps :
26
- - uses : actions/checkout@v2
28
+ - uses : actions/checkout@v3
27
29
with :
28
30
fetch-depth : " 0"
29
- - uses : actions/setup-python@v1
31
+ - uses : actions/setup-python@v4
30
32
with :
31
33
python-version : " 3.8"
32
34
- name : Install Package Tools
@@ -35,24 +37,24 @@ jobs:
35
37
conan user
36
38
- name : Generate Job Matrix
37
39
id : set-matrix
38
- env :
39
- splitByBuildTypes : ${{ env.splitByBuildTypes }}
40
40
run : |
41
41
MATRIX=$(bincrafters-package-tools generate-ci-jobs --platform gha)
42
42
echo "${MATRIX}"
43
- echo "::set-output name= matrix:: ${MATRIX}"
43
+ echo "matrix= ${MATRIX}" >> $GITHUB_OUTPUT
44
44
conan :
45
45
needs : generate-matrix
46
46
runs-on : ${{ matrix.config.os }}
47
47
strategy :
48
48
fail-fast : false
49
49
matrix : ${{fromJson(needs.generate-matrix.outputs.matrix)}}
50
50
name : ${{ matrix.config.name }}
51
+ env :
52
+ BPT_CONFIG_FILE_VERSION : " 12"
51
53
steps :
52
- - uses : actions/checkout@v2
54
+ - uses : actions/checkout@v3
53
55
with :
54
56
fetch-depth : " 0"
55
- - uses : actions/setup-python@v1
57
+ - uses : actions/setup-python@v4
56
58
with :
57
59
python-version : " 3.8"
58
60
- name : Install Conan
70
72
CONAN_PASSWORD : ${{ secrets.CONAN_PASSWORD }}
71
73
run : |
72
74
bincrafters-package-tools --auto
75
+ finished :
76
+ needs : conan
77
+ runs-on : ubuntu-20.04
78
+ name : " All GitHub Actions Jobs Finished"
79
+ steps :
80
+ - name : Finish
81
+ run : |
82
+ echo "All GitHub Actions jobs finished"
0 commit comments