Skip to content

Commit c296aa1

Browse files
authored
Merge pull request #1424 from murraystevenson/ciNode16Workaround
CI : Continue using Node16 for actions
2 parents 4da1340 + e320d1b commit c296aa1

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,17 @@ jobs:
8686

8787
container: ${{ matrix.containerImage }}
8888

89+
env:
90+
# GitHub have moved to running actions on Node20, which prevents them from
91+
# running on CentOS 7. The below allows actions to continue running on Node16
92+
# until October.
93+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
94+
8995
steps:
9096

91-
- uses: actions/checkout@v2
97+
- uses: actions/checkout@v3
9298

93-
- uses: ilammy/msvc-dev-cmd@v1.10.0
99+
- uses: ilammy/msvc-dev-cmd@v1.12.1
94100
with:
95101
sdk: 10.0.17763.0
96102

@@ -182,7 +188,7 @@ jobs:
182188
${{ env.PACKAGE_COMMAND }} ${{ env.CORTEX_BUILD_NAME }}.${{env.PACKAGE_EXTENSION}} ${{ env.CORTEX_BUILD_NAME }}
183189
if: matrix.publish
184190

185-
- uses: actions/upload-artifact@v2
191+
- uses: actions/upload-artifact@v3
186192
with:
187193
name: ${{ env.CORTEX_BUILD_NAME }}
188194
path: ${{ env.CORTEX_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }}

0 commit comments

Comments
 (0)