@@ -17,41 +17,30 @@ jobs:
17
17
runs-on : ubuntu-latest
18
18
name : Get version from git tag
19
19
outputs :
20
- app_version : ${{ steps.version.outputs.app_version }}
20
+ app_version : ${{ steps.version.outputs.semVer }}
21
21
is_production : ${{ steps.is_production_check.outputs.is_production }}
22
- file_version : ${{ steps.version.outputs.file_version }}
23
- information_version : ${{ steps.version.outputs.information_version }}
24
- issue_id_slug : ${{ steps.issue-key .outputs.issue_id_slug }}
22
+ file_version : ${{ steps.version.outputs.assemblySemFileVer }}
23
+ information_version : ${{ steps.steps. version.outputs.informationalVersion }}
24
+ issue_id_slug : ${{ steps.version .outputs.preReleaseLabel }}
25
25
steps :
26
26
- name : Checkout repository
27
27
uses : actions/checkout@v3
28
28
with :
29
29
fetch-depth : 0
30
- - name : Checkout GitHub Action Repos
31
- uses : daspn/private- actions-checkout@v2
30
+ - name : Install GitVersion
31
+ uses : gittools/ actions/gitversion/setup@v0
32
32
with :
33
-
34
- checkout_base_path : ./.github/actions
35
- app_id : ${{ secrets.PRIVATE_ACTION_APP_ID }}
36
- app_private_key : ${{ secrets.PRIVATE_ACTION_APP_PRIVATE_KEY }}
37
- - name : Get jira Ticket slug
38
- id : issue-key
39
- uses : ./.github/actions/get-issue-key
40
- - name : Get version from git tags
33
+ versionSpec : 5.x
34
+ - name : Determine Version
41
35
id : version
42
- uses : ./.github/actions/get-version
43
- with :
44
- build-number : none
45
- pre-release-version : none
46
- production-branches : |-
47
- master
48
- main
49
- release-candidate-version : false
36
+ uses : gittools/actions/gitversion/execute@v0
37
+ with :
38
+ useConfigFile : true
50
39
- name : Is production check
51
40
shell : bash
52
41
id : is_production_check
53
42
run : |
54
- if [[ ${{ steps.version.outputs.app_version }} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
43
+ if [[ ${{ steps.version.outputs.semVer }} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
55
44
echo ::set-output name=is_production::true
56
45
fi
57
46
scan-code-net :
@@ -154,7 +143,7 @@ jobs:
154
143
- name : Checkout GitHub Action Repos
155
144
uses : daspn/private-actions-checkout@v2
156
145
with :
157
-
146
+
158
147
checkout_base_path : ./.github/actions
159
148
app_id : ${{ secrets.PRIVATE_ACTION_APP_ID }}
160
149
app_private_key : ${{ secrets.PRIVATE_ACTION_APP_PRIVATE_KEY }}
@@ -232,7 +221,7 @@ jobs:
232
221
- name : Checkout GitHub Action Repos
233
222
uses : daspn/private-actions-checkout@v2
234
223
with :
235
-
224
+
236
225
checkout_base_path : ./.github/actions
237
226
app_id : ${{ secrets.PRIVATE_ACTION_APP_ID }}
238
227
app_private_key : ${{ secrets.PRIVATE_ACTION_APP_PRIVATE_KEY }}
@@ -439,7 +428,7 @@ jobs:
439
428
- name : Checkout GitHub Action Repos
440
429
uses : daspn/private-actions-checkout@v2
441
430
with :
442
-
431
+
443
432
checkout_base_path : ./.github/actions
444
433
app_id : ${{ secrets.PRIVATE_ACTION_APP_ID }}
445
434
app_private_key : ${{ secrets.PRIVATE_ACTION_APP_PRIVATE_KEY }}
@@ -519,7 +508,7 @@ jobs:
519
508
- name : Checkout GitHub Action Repos
520
509
uses : daspn/private-actions-checkout@v2
521
510
with :
522
-
511
+
523
512
checkout_base_path : ./.github/actions
524
513
app_id : ${{ secrets.PRIVATE_ACTION_APP_ID }}
525
514
app_private_key : ${{ secrets.PRIVATE_ACTION_APP_PRIVATE_KEY }}
@@ -647,7 +636,7 @@ jobs:
647
636
- name : Checkout GitHub Action Repos
648
637
uses : daspn/private-actions-checkout@v2
649
638
with :
650
-
639
+
651
640
checkout_base_path : ./.github/actions
652
641
app_id : ${{ secrets.PRIVATE_ACTION_APP_ID }}
653
642
app_private_key : ${{ secrets.PRIVATE_ACTION_APP_PRIVATE_KEY }}
@@ -801,7 +790,7 @@ jobs:
801
790
- name : Checkout GitHub Action Repos
802
791
uses : daspn/private-actions-checkout@v2
803
792
with :
804
-
793
+
805
794
checkout_base_path : ./.github/actions
806
795
app_id : ${{ secrets.PRIVATE_ACTION_APP_ID }}
807
796
app_private_key : ${{ secrets.PRIVATE_ACTION_APP_PRIVATE_KEY }}
@@ -1145,7 +1134,7 @@ jobs:
1145
1134
- name : Checkout GitHub Action Repos
1146
1135
uses : daspn/private-actions-checkout@v2
1147
1136
with :
1148
-
1137
+
1149
1138
checkout_base_path : ./.github/actions
1150
1139
app_id : ${{ secrets.PRIVATE_ACTION_APP_ID }}
1151
1140
app_private_key : ${{ secrets.PRIVATE_ACTION_APP_PRIVATE_KEY }}
0 commit comments