4040 changes : ${{ steps.changes.outputs.changes }}
4141 all : ${{ steps.apps.outputs.all }}
4242 steps :
43- -
uses :
actions/[email protected] .1 43+ -
uses :
actions/[email protected] .4 4444 - uses : ./.github/actions/build-base-image
4545 with :
4646 BASE_BRANCH : ${{ env.BASE_BRANCH }}
5454 ALL_APPS=$(grep '^[a-z_]*:' .github/scripts/path-filters.yaml | sed 's/:.*$//')
5555 ALL_APPS=$(jq -n --arg inarr "${ALL_APPS}" '$inarr | split("\n")' | tr '\n' ' ')
5656 echo "all=${ALL_APPS}" >> $GITHUB_OUTPUT
57- 57+ 5858 id : app-changes
5959 with :
6060 filters : .github/scripts/path-filters.yaml
@@ -70,14 +70,14 @@ jobs:
7070 echo "changes=${CHANGED_APPS}" >> "$GITHUB_OUTPUT"
7171 fi
7272 - name : Cache pre-built src
73- 73+ 7474 with :
7575 path : otp_src.tar.gz
7676 key : prebuilt-src-${{ github.ref_name }}-${{ github.sha }}
7777 restore-keys : |
7878 prebuilt-src-${{ github.base_ref }}-${{ github.event.pull_request.base.sha }}
7979 - name : Cache pre-built binaries
80- 80+ 8181 with :
8282 path : otp_cache.tar.gz
8383 key : prebuilt-cache-64-bit-${{ github.ref_name }}-${{ github.sha }}
@@ -86,11 +86,11 @@ jobs:
8686 - name : Create initial pre-release tar
8787 run : .github/scripts/init-pre-release.sh otp_archive.tar.gz otp_src.tar.gz
8888 - name : Upload source tar archive
89- 89+ 9090 with :
9191 name : otp_git_archive
9292 path : otp_archive.tar.gz
93- 93+ 9494 id : cache
9595 with :
9696 filters : |
@@ -128,7 +128,7 @@ jobs:
128128 "`pwd`/.github/otp.tar.gz" \
129129 "`pwd`/otp_archive.tar.gz"
130130 - name : Upload restored cache
131- 131+ 132132 if : runner.debug == 1
133133 with :
134134 name : restored-cache
@@ -155,7 +155,7 @@ jobs:
155155 bash -c 'set -x; C_APPS=$(ls -d ./lib/*/c_src); find Makefile ./make ./erts ./bin/`erts/autoconf/config.guess` ./lib/erl_interface ./lib/jinterface ${C_APPS} `echo "${C_APPS}" | sed -e 's:c_src$:priv:'` -type f -newer README.md \! -name "*.beam" \! -path "*/doc/*" | xargs tar --transform "s:^./:otp/:" -uvf /github/otp_cache.tar'
156156 gzip otp_cache.tar
157157 - name : Upload pre-built tar archives
158- 158+ 159159 with :
160160 name : otp_prebuilt
161161 path : |
@@ -169,16 +169,16 @@ jobs:
169169 env :
170170 WXWIDGETS_VERSION : 3.1.5
171171 steps :
172- -
uses :
actions/[email protected] .1 172+ -
uses :
actions/[email protected] .4 173173
174174 - name : Download source archive
175- 175+ 176176 with :
177177 name : otp_prebuilt
178178
179179 - name : Cache wxWidgets
180180 id : wxwidgets-cache
181- 181+ 182182 with :
183183 path : wxWidgets
184184 key : wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-12
@@ -204,7 +204,7 @@ jobs:
204204 ./bin/erl -noshell -eval '{wx_ref,_,_,_} = wx:new(), io:format("wx ok~n"), halt().'
205205
206206 - name : Upload tarball
207- 207+ 208208 with :
209209 name : otp_prebuilt_macos_x86-64
210210 path : otp/otp_macos_*_x86-64.tar.gz
@@ -217,9 +217,9 @@ jobs:
217217 runs-on : macos-12
218218 needs : pack
219219 steps :
220- -
uses :
actions/[email protected] .1 220+ -
uses :
actions/[email protected] .4 221221 - name : Download source archive
222- 222+ 223223 with :
224224 name : otp_prebuilt
225225
@@ -238,7 +238,7 @@ jobs:
238238 xcodebuild -create-xcframework -output ./liberlang.xcframework -library liberlang.a
239239
240240 - name : Upload framework
241- 241+ 242242 with :
243243 name : ios_framework_${{ env.TARGET_ARCH }}
244244 path : otp/liberlang.xcframework
@@ -253,7 +253,7 @@ jobs:
253253 runs-on : windows-2022
254254 needs : pack
255255 steps :
256- - uses : Vampire/setup-wsl@v2 .0.2
256+ - uses : Vampire/setup-wsl@v3 .0.0
257257 with :
258258 distribution : Ubuntu-18.04
259259
@@ -267,7 +267,7 @@ jobs:
267267 IF EXIST "c:\\Program Files\\OpenSSL-Win64" (move "c:\\Program Files\\OpenSSL-Win64" "c:\\OpenSSL-Win64") ELSE (move "c:\\Program Files\\OpenSSL" "c:\\OpenSSL-Win64")
268268
269269 - name : Cache wxWidgets
270- 270+ 271271 with :
272272 path : wxWidgets
273273 key : wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}
@@ -309,7 +309,7 @@ jobs:
309309 nmake TARGET_CPU=amd64 BUILD=release SHARED=0 DIR_SUFFIX_CPU= -f makefile.vc
310310
311311 - name : Download source archive
312- 312+ 313313 with :
314314 name : otp_prebuilt
315315
@@ -337,7 +337,7 @@ jobs:
337337 ./otp_build installer_win32
338338
339339 - name : Upload installer
340- 340+ 341341 with :
342342 name : otp_win32_installer
343343 path : otp/release/win32/otp*.exe
@@ -349,7 +349,7 @@ jobs:
349349 if : contains(needs.pack.outputs.changes, 'emulator')
350350
351351 steps :
352- -
uses :
actions/[email protected] .1 352+ -
uses :
actions/[email protected] .4 353353 - uses : ./.github/actions/build-base-image
354354 with :
355355 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -376,7 +376,7 @@ jobs:
376376 fail-fast : false
377377
378378 steps :
379- -
uses :
actions/[email protected] .1 379+ -
uses :
actions/[email protected] .4 380380 - uses : ./.github/actions/build-base-image
381381 with :
382382 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -387,7 +387,7 @@ jobs:
387387 runs-on : ubuntu-latest
388388 needs : pack
389389 steps :
390- -
uses :
actions/[email protected] .1 390+ -
uses :
actions/[email protected] .4 391391 - uses : ./.github/actions/build-base-image
392392 with :
393393 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -409,7 +409,7 @@ jobs:
409409 rm -rf man
410410 tar czf ../otp_doc_html.tar.gz *
411411 - name : Upload html documentation archive
412- 412+ 413413 with :
414414 name : otp_doc_html
415415 path : otp_doc_html.tar.gz
@@ -429,7 +429,7 @@ jobs:
429429 runs-on : ubuntu-latest
430430 needs : pack
431431 steps :
432- -
uses :
actions/[email protected] .1 432+ -
uses :
actions/[email protected] .4 433433 - uses : ./.github/actions/build-base-image
434434 with :
435435 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -458,7 +458,7 @@ jobs:
458458 # type: ["os_mon","sasl"]
459459 fail-fast : false
460460 steps :
461- -
uses :
actions/[email protected] .1 461+ -
uses :
actions/[email protected] .4 462462 - uses : ./.github/actions/build-base-image
463463 with :
464464 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -495,7 +495,7 @@ jobs:
495495 sudo bash -c "chown -R `whoami` make_test_dir && chmod -R +r make_test_dir"
496496 tar czf ${{ matrix.type }}_test_results.tar.gz make_test_dir
497497 - name : Upload test results
498- 498+ 499499 if : ${{ !cancelled() }}
500500 with :
501501 name : ${{ matrix.type }}_test_results
@@ -507,12 +507,12 @@ jobs:
507507 if : ${{ !cancelled() }} # Run even if the need has failed
508508 needs : test
509509 steps :
510- -
uses :
actions/[email protected] .1 510+ -
uses :
actions/[email protected] .4 511511 - uses : ./.github/actions/build-base-image
512512 with :
513513 BASE_BRANCH : ${{ env.BASE_BRANCH }}
514514 - name : Download test results
515- 515+ 516516 - name : Merge test results
517517 run : |
518518 shopt -s nullglob
@@ -542,14 +542,14 @@ jobs:
542542 -e 's:\(file="erts/\)make_test_dir/[^/]*:\1test:g' \
543543 make_test_dir/*_junit.xml
544544 - name : Upload test results
545- 545+ 546546 if : ${{ !cancelled() }}
547547 with :
548548 name : test_results
549549 path : test_results.tar.gz
550550 - name : Upload Test Results
551551 if : ${{ !cancelled() }}
552- 552+ 553553 with :
554554 name : Unit Test Results
555555 path : |
@@ -576,15 +576,15 @@ jobs:
576576 echo "tag=${TAG}" >> $GITHUB_OUTPUT
577577 echo "vsn=${VSN}" >> $GITHUB_OUTPUT
578578
579- -
uses :
actions/[email protected] .1 579+ -
uses :
actions/[email protected] .4 580580
581581 # # Publish the pre-built archive and docs
582582 - name : Download source archive
583- 583+ 584584 with :
585585 name : otp_prebuilt
586586 - name : Download html docs
587- 587+ 588588 with :
589589 name : otp_doc_html
590590 - name : Download man docs
@@ -607,7 +607,7 @@ jobs:
607607 sha256sum $FILES > SHA256.txt
608608
609609 - name : Upload pre-built and doc tar archives
610- uses : softprops/action-gh-release@v1
610+ uses : softprops/action-gh-release@v2.0.4
611611 with :
612612 name : OTP ${{ steps.tag.outputs.vsn }}
613613 files : |
@@ -626,7 +626,7 @@ jobs:
626626 runs-on : ubuntu-latest
627627 steps :
628628 - name : Upload
629- 629+ 630630 with :
631631 name : Event File
632632 path : ${{ github.event_path }}
0 commit comments