67
67
update-changelog :
68
68
name : " Update CHANGELOG (on release)"
69
69
if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
70
- runs-on : ubuntu-latest
70
+ runs-on : ubuntu-22.04
71
71
permissions :
72
72
contents : write
73
73
pull-requests : write
82
82
pull-request-name :
83
83
if : github.event_name == 'pull_request'
84
84
name : Check the name of the pull-request
85
- runs-on : ubuntu-latest
85
+ runs-on : ubuntu-22.04
86
86
steps :
87
87
- name : Check pull-request name
88
88
uses : ansys/actions/check-pr-title@v8
92
92
93
93
doc-style :
94
94
name : " Documentation style ${{ matrix.folder }}"
95
- runs-on : ubuntu-latest
95
+ runs-on : ubuntu-22.04
96
96
strategy :
97
97
matrix :
98
98
folder : ["doc", "examples"]
@@ -142,7 +142,7 @@ jobs:
142
142
143
143
check-vulnerabilities :
144
144
name : " Check library vulnerabilities"
145
- runs-on : ubuntu-latest
145
+ runs-on : ubuntu-22.04
146
146
steps :
147
147
- uses : ansys/actions/check-vulnerabilities@v8
148
148
with :
@@ -156,7 +156,7 @@ jobs:
156
156
157
157
docs-build :
158
158
name : " Build documentation"
159
- runs-on : ubuntu-latest
159
+ runs-on : ubuntu-22.04
160
160
needs : doc-style
161
161
timeout-minutes : 60
162
162
outputs :
@@ -359,7 +359,7 @@ jobs:
359
359
360
360
build-test-remote-matrix :
361
361
name : " Build remote test matrix"
362
- runs-on : ubuntu-latest
362
+ runs-on : ubuntu-22.04
363
363
if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
364
364
outputs :
365
365
matrix : ${{ steps.set-matrix.outputs.matrix }}
@@ -400,7 +400,7 @@ jobs:
400
400
401
401
build-test-remote :
402
402
name : " Remote: ${{ matrix.mapdl-version }}"
403
- runs-on : ubuntu-latest
403
+ runs-on : ubuntu-22.04
404
404
needs : [smoke-tests, build-test-remote-matrix]
405
405
timeout-minutes : 35
406
406
strategy :
@@ -599,7 +599,7 @@ jobs:
599
599
600
600
build-test-local-minimal-matrix :
601
601
name : " Build test matrix for minimal and local"
602
- runs-on : ubuntu-latest
602
+ runs-on : ubuntu-22.04
603
603
if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
604
604
outputs :
605
605
matrix : ${{ steps.set-matrix.outputs.matrix }}
@@ -630,7 +630,7 @@ jobs:
630
630
631
631
build-test-ubuntu-local :
632
632
name : " Local: ${{ matrix.mapdl-version }}"
633
- runs-on : ubuntu-latest
633
+ runs-on : ubuntu-22.04
634
634
if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
635
635
needs : [smoke-tests, build-test-local-minimal-matrix]
636
636
timeout-minutes : 75
@@ -785,7 +785,7 @@ jobs:
785
785
786
786
build-test-ubuntu-minimal :
787
787
name : " Local-min: ${{ matrix.mapdl-version }}"
788
- runs-on : ubuntu-latest
788
+ runs-on : ubuntu-22.04
789
789
if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
790
790
needs : [smoke-tests, build-test-local-minimal-matrix]
791
791
timeout-minutes : 75
@@ -913,7 +913,7 @@ jobs:
913
913
914
914
build-test-ubuntu-console :
915
915
name : " Local-min-console: ${{ matrix.mapdl-version }}"
916
- runs-on : ubuntu-latest
916
+ runs-on : ubuntu-22.04
917
917
if : github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
918
918
needs : [smoke-tests, build-test-local-minimal-matrix]
919
919
timeout-minutes : 75
@@ -1115,7 +1115,7 @@ jobs:
1115
1115
package :
1116
1116
name : " Package library"
1117
1117
needs : [build-test-remote, build-test-ubuntu-local, build-test-ubuntu-minimal, docs-build]
1118
- runs-on : ubuntu-latest
1118
+ runs-on : ubuntu-22.04
1119
1119
steps :
1120
1120
- name : " Build library source and wheel artifacts"
1121
1121
uses : ansys/actions/build-library@v8
@@ -1128,7 +1128,7 @@ jobs:
1128
1128
name : " Release project"
1129
1129
if : ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
1130
1130
needs : [package, update-changelog]
1131
- runs-on : ubuntu-latest
1131
+ runs-on : ubuntu-22.04
1132
1132
# Specifying a GitHub environment is optional, but strongly encouraged
1133
1133
environment : release
1134
1134
permissions :
@@ -1154,7 +1154,7 @@ jobs:
1154
1154
upload-docs-release :
1155
1155
name : " Upload release documentation"
1156
1156
if : github.event_name == 'push' && contains(github.ref, 'refs/tags')
1157
- runs-on : ubuntu-latest
1157
+ runs-on : ubuntu-22.04
1158
1158
needs : [release]
1159
1159
steps :
1160
1160
- name : " Deploy the stable documentation"
@@ -1170,7 +1170,7 @@ jobs:
1170
1170
upload-dev-docs :
1171
1171
name : " Upload dev documentation"
1172
1172
if : github.ref == 'refs/heads/main' && !contains(github.ref, 'refs/tags')
1173
- runs-on : ubuntu-latest
1173
+ runs-on : ubuntu-22.04
1174
1174
needs : [docs-build]
1175
1175
steps :
1176
1176
- name : " Deploy the latest documentation"
@@ -1186,7 +1186,7 @@ jobs:
1186
1186
name : " Notify failed build"
1187
1187
needs : [smoke-tests, docs-build, build-test-remote, build-test-ubuntu-local, build-test-ubuntu-minimal]
1188
1188
if : failure() && github.event_name == 'schedule'
1189
- runs-on : ubuntu-latest
1189
+ runs-on : ubuntu-22.04
1190
1190
steps :
1191
1191
- name : " Open issue"
1192
1192
uses : jayqi/failed-build-issue-action@v1
0 commit comments