Skip to content

Commit 1ef1e48

Browse files
[CI][Compat] Remove steps printing version
For tag checkout it's no surprise; for main we print full version during 'Configure' step.
1 parent 385fa4c commit 1ef1e48

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

.github/workflows/reusable_compatibility.yml

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ jobs:
3535
- name: Install libhwloc
3636
working-directory: ${{github.workspace}}/tag_version
3737
run: .github/scripts/install_hwloc.sh
38-
39-
- name: Get "tag" UMF version
40-
working-directory: ${{github.workspace}}/tag_version
41-
run: |
42-
VERSION=$(git describe --tags)
43-
echo "tag version: $VERSION"
4438

4539
- name: Configure "tag" UMF build
4640
working-directory: ${{github.workspace}}/tag_version
@@ -76,12 +70,6 @@ jobs:
7670
fetch-depth: 0
7771
path: ${{github.workspace}}/latest_version
7872

79-
- name: Get latest UMF version
80-
working-directory: ${{github.workspace}}/latest_version
81-
run: |
82-
VERSION=$(git describe --tags)
83-
echo "checked version: $VERSION"
84-
8573
- name: Configure latest UMF build
8674
working-directory: ${{github.workspace}}/latest_version
8775
run: >
@@ -132,16 +120,11 @@ jobs:
132120
vcpkgDirectory: ${{github.workspace}}/vcpkg
133121
vcpkgJsonGlob: '**/vcpkg.json'
134122

123+
# NOTE we use vcpkg setup from "tag" version
135124
- name: Install dependencies
136125
working-directory: ${{github.workspace}}/tag_version
137126
run: vcpkg install
138127
shell: pwsh # Specifies PowerShell as the shell for running the script.
139-
140-
- name: Get "tag" UMF version
141-
working-directory: ${{github.workspace}}/tag_version
142-
run: |
143-
$version = (git describe --tags)
144-
echo "tag version: $VERSION"
145128

146129
- name: Configure "tag" UMF build
147130
working-directory: ${{github.workspace}}/tag_version
@@ -174,13 +157,6 @@ jobs:
174157
fetch-depth: 0
175158
path: ${{github.workspace}}/latest_version
176159

177-
# NOTE we use vcpkg setup from "tag" version
178-
- name: Get latest UMF version
179-
working-directory: ${{github.workspace}}/latest_version
180-
run: |
181-
$version = (git describe --tags)
182-
echo "latest version: $VERSION"
183-
184160
- name: Configure latest UMF build
185161
working-directory: ${{github.workspace}}/latest_version
186162
run: >
@@ -223,12 +199,6 @@ jobs:
223199
ref: refs/tags/${{inputs.tag}}
224200
path: ${{github.workspace}}/tag_version
225201

226-
- name: Get "tag" UMF version
227-
working-directory: ${{github.workspace}}/tag_version
228-
run: |
229-
VERSION=$(git describe --tags)
230-
echo "tag version: $VERSION"
231-
232202
- name: Configure "tag" UMF build
233203
working-directory: ${{github.workspace}}/tag_version
234204
run: >
@@ -267,12 +237,6 @@ jobs:
267237
fetch-depth: 0
268238
path: ${{github.workspace}}/latest_version
269239

270-
- name: Get latest UMF version
271-
working-directory: ${{github.workspace}}/latest_version
272-
run: |
273-
VERSION=$(git describe --tags)
274-
echo "checked version: $VERSION"
275-
276240
- name: Configure latest UMF build
277241
working-directory: ${{github.workspace}}/latest_version
278242
run: >

0 commit comments

Comments
 (0)