We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd019ab commit 6dbf842Copy full SHA for 6dbf842
1 file changed
gdcm.yaml
@@ -12,6 +12,12 @@ environment:
12
- build-base
13
- busybox
14
15
+var-transforms:
16
+ - from: ${{package.version}}
17
+ match: ^(\d+\.\d+)\.\d+$
18
+ replace: "$1"
19
+ to: major-minor-version
20
+
21
pipeline:
22
- uses: git-checkout
23
with:
@@ -74,7 +80,7 @@ test:
74
80
}
75
81
EOF
76
82
77
- g++ -I/usr/include/gdcm-3.1 -o test_gdcm test_gdcm.cpp -lgdcmDSED -lgdcmMSFF -lgdcmCommon -lgdcmDICT -lgdcmIOD -lgdcmzlib
83
+ g++ -I/usr/include/gdcm-${{vars.major-minor-version}} -o test_gdcm test_gdcm.cpp -lgdcmDSED -lgdcmMSFF -lgdcmCommon -lgdcmDICT -lgdcmIOD -lgdcmzlib
78
84
./test_gdcm
79
85
86
update:
0 commit comments