Skip to content

Commit 8dd73fa

Browse files
Update Conan conventions
Automatically created by bincrafters-conventions 1.0.0
1 parent 30024d3 commit 8dd73fa

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

.github/workflows/conan.yml

+19-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
on: [push, pull_request]
22

3-
# bincrafters-conventions:gha-workflow-version:10
3+
# bincrafters-conventions:gha-workflow-version:14
44
# You can add custom environment variables above the version tag
55
# Do not modify the tag or anything below the tag
66
# This script gets automatically updated
77
#
88
# Possible configurations:
99
# env:
10-
# splitByBuildTypes: "false" # Possible values "false", "true", default: false
10+
# BPT_MATRIX_SPLIT_BY_BUILD_TYPES: "false" # Possible values "false", "true", default: false
1111
#
1212
# You can furthermore set any environment variable understood by Conan and Conan Package Tools
1313
#
@@ -22,11 +22,13 @@ jobs:
2222
runs-on: ubuntu-20.04
2323
outputs:
2424
matrix: ${{ steps.set-matrix.outputs.matrix }}
25+
env:
26+
BPT_CONFIG_FILE_VERSION: "12"
2527
steps:
26-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@v3
2729
with:
2830
fetch-depth: "0"
29-
- uses: actions/setup-python@v1
31+
- uses: actions/setup-python@v4
3032
with:
3133
python-version: "3.8"
3234
- name: Install Package Tools
@@ -35,24 +37,24 @@ jobs:
3537
conan user
3638
- name: Generate Job Matrix
3739
id: set-matrix
38-
env:
39-
splitByBuildTypes: ${{ env.splitByBuildTypes }}
4040
run: |
4141
MATRIX=$(bincrafters-package-tools generate-ci-jobs --platform gha)
4242
echo "${MATRIX}"
43-
echo "::set-output name=matrix::${MATRIX}"
43+
echo "matrix=${MATRIX}" >> $GITHUB_OUTPUT
4444
conan:
4545
needs: generate-matrix
4646
runs-on: ${{ matrix.config.os }}
4747
strategy:
4848
fail-fast: false
4949
matrix: ${{fromJson(needs.generate-matrix.outputs.matrix)}}
5050
name: ${{ matrix.config.name }}
51+
env:
52+
BPT_CONFIG_FILE_VERSION: "12"
5153
steps:
52-
- uses: actions/checkout@v2
54+
- uses: actions/checkout@v3
5355
with:
5456
fetch-depth: "0"
55-
- uses: actions/setup-python@v1
57+
- uses: actions/setup-python@v4
5658
with:
5759
python-version: "3.8"
5860
- name: Install Conan
@@ -70,3 +72,11 @@ jobs:
7072
CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD }}
7173
run: |
7274
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

Comments
 (0)