We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10b20a2 commit ce64510Copy full SHA for ce64510
.github/workflows/ci.yaml
@@ -34,11 +34,17 @@ jobs:
34
- name: Dart Analyze
35
run: melos run lint:dart
36
37
+ - name: Get DCM version
38
+ id: dcm-version
39
+ run: |
40
+ dcmVersion=$(cat dcm_global.yaml | grep version | cut -d' ' -f2 | sed -r 's/"//g')
41
+ echo "DCM_VERSION=$dcmVersion" >> "$GITHUB_OUTPUT"
42
+
43
- name: Install DCM
44
uses: CQLabs/setup-dcm@v2
45
with:
46
github-token: ${{ secrets.GITHUB_TOKEN }}
- version: 1.26.2
47
+ version: ${{ steps.dcm-version.outputs.DCM_VERSION }}
48
49
- name: Run DCM
50
uses: CQLabs/dcm-action@v2
0 commit comments