4747 pkg_version : ${{ steps.buildvars.outputs.pkg_version }}
4848
4949 steps :
50- - uses : actions/checkout@v2
50+ - uses : actions/checkout@v3
5151 with :
5252 fetch-depth : 0
5353
7070 echo "NEXT_VERSION=$nextStrict" >> $GITHUB_ENV
7171
7272 - name : Create Draft Release
73- uses : ncipollo/release-action@v1
73+ uses : ncipollo/release-action@v1.11.1
7474 if : ${{ github.event.inputs.publish == 'true' && github.event.inputs.dryrun == 'false' }}
7575 with :
7676 prerelease : true
@@ -167,7 +167,7 @@ jobs:
167167 mv latest-coverage.json coverage.json
168168
169169 - name : Upload Coverage Results as Build Artifact
170- uses : actions/upload-artifact@v3.0.0
170+ uses : actions/upload-artifact@v3
171171 if : ${{ always() }}
172172 with :
173173 name : coverage
@@ -186,7 +186,7 @@ jobs:
186186 steps :
187187 - uses : actions/checkout@v3
188188
189- - uses : actions/setup-node@v2
189+ - uses : actions/setup-node@v3
190190 with :
191191 node-version : ' 18'
192192
@@ -203,7 +203,7 @@ jobs:
203203 npx playwright test --project=${{ matrix.project }}
204204
205205 - name : Upload Report
206- uses : actions/upload-artifact@v3.0.0
206+ uses : actions/upload-artifact@v3
207207 if : ${{ always() }}
208208 continue-on-error : true
209209 with :
@@ -256,7 +256,7 @@ jobs:
256256 yarn cypress:legacy
257257
258258 - name : Upload Video Recordings
259- uses : actions/upload-artifact@v3.0.0
259+ uses : actions/upload-artifact@v3
260260 if : ${{ always() }}
261261 continue-on-error : true
262262 with :
@@ -265,7 +265,7 @@ jobs:
265265 if-no-files-found : ignore
266266
267267 - name : Upload Screenshots
268- uses : actions/upload-artifact@v3.0.0
268+ uses : actions/upload-artifact@v3
269269 if : ${{ always() }}
270270 continue-on-error : true
271271 with :
@@ -286,17 +286,17 @@ jobs:
286286 PKG_VERSION : ${{needs.prepare.outputs.pkg_version}}
287287
288288 steps :
289- - uses : actions/checkout@v2
289+ - uses : actions/checkout@v3
290290 with :
291291 fetch-depth : 0
292292
293293 - name : Setup Node.js
294- uses : actions/setup-node@v3.0.0
294+ uses : actions/setup-node@v3
295295 with :
296- node-version : 16.x
296+ node-version : ' 16 '
297297
298298 - name : Setup Python
299- uses : actions/setup-python@v2
299+ uses : actions/setup-python@v4
300300 with :
301301 python-version : ' 3.x'
302302
@@ -364,7 +364,7 @@ jobs:
364364 histCoveragePath : historical-coverage.json
365365
366366 - name : Create Release
367- uses : ncipollo/release-action@v1
367+ uses : ncipollo/release-action@v1.11.1
368368 if : ${{ env.SHOULD_DEPLOY == 'true' && github.event.inputs.dryrun == 'false' }}
369369 with :
370370 allowUpdates : true
@@ -376,7 +376,7 @@ jobs:
376376 token : ${{ secrets.GITHUB_TOKEN }}
377377
378378 - name : Update Baseline Coverage
379- uses : ncipollo/release-action@v1
379+ uses : ncipollo/release-action@v1.11.1
380380 if : ${{ github.event.inputs.updateCoverage == 'true' && github.event.inputs.dryrun == 'false' }}
381381 with :
382382 allowUpdates : true
@@ -389,8 +389,19 @@ jobs:
389389 token : ${{ secrets.GITHUB_TOKEN }}
390390
391391 - name : Upload Build Artifacts
392- uses : actions/upload-artifact@v2.3.1
392+ uses : actions/upload-artifact@v3
393393 if : ${{ env.SHOULD_DEPLOY == 'false' || github.event.inputs.dryrun == 'true' }}
394394 with :
395395 name : release-${{ env.PKG_VERSION }}
396396 path : /home/runner/work/release/release.tar.gz
397+
398+ - name : Notify on Slack
399+ uses : slackapi/slack-github-action@v1.23.0
400+ with :
401+ channel-id : ${{ secrets.SLACK_GH_BUILDS_CHANNEL_ID }}
402+ payload : |
403+ {
404+ "text": "Datatracker - Build <https://github.com/ietf-tools/datatracker/actions/runs/${{ github.run_id }}|${{ env.PKG_VERSION }}> by ${{ github.triggering_actor }} completed - <@${{ secrets.SLACK_UID_RJSPARKS }}>"
405+ }
406+ env :
407+ SLACK_BOT_TOKEN : ${{ secrets.SLACK_GH_BOT }}
0 commit comments