4141 c-code-changes : ${{ steps.c-code-changes.outputs.changes }}
4242 all : ${{ steps.apps.outputs.all }}
4343 steps :
44- -
uses :
actions/[email protected] .1 44+ -
uses :
actions/[email protected] .4 4545 - uses : ./.github/actions/build-base-image
4646 with :
4747 BASE_BRANCH : ${{ env.BASE_BRANCH }}
5858 ALL_APPS=$(jq -n --arg inarr "${ALL_APPS}" '$inarr | split("\n")' | tr '\n' ' ')
5959 echo "all=${ALL_APPS}" >> $GITHUB_OUTPUT
6060 - name : Check which applications have changed
61- 61+ 6262 id : app-changes
6363 with :
6464 filters : .github/scripts/path-filters.yaml
@@ -79,14 +79,14 @@ jobs:
7979 with :
8080 filters : .github/scripts/c-code-path-filters.yaml
8181 - name : Cache pre-built src
82- 82+ 8383 with :
8484 path : otp_src.tar.gz
8585 key : prebuilt-src-${{ github.ref_name }}-${{ github.sha }}
8686 restore-keys : |
8787 prebuilt-src-${{ github.base_ref }}-${{ github.event.pull_request.base.sha }}
8888 - name : Cache pre-built binaries
89- 89+ 9090 with :
9191 path : otp_cache.tar.gz
9292 key : prebuilt-cache-64-bit-${{ github.ref_name }}-${{ github.sha }}
@@ -95,12 +95,12 @@ jobs:
9595 - name : Create initial pre-release tar
9696 run : .github/scripts/init-pre-release.sh otp_archive.tar.gz otp_src.tar.gz
9797 - name : Upload source tar archive
98- 98+ 9999 with :
100100 name : otp_git_archive
101101 path : otp_archive.tar.gz
102102 - name : Check how we can use the pre-built cache
103- 103+ 104104 id : cache
105105 with :
106106 filters : |
@@ -139,7 +139,7 @@ jobs:
139139 "`pwd`/.github/otp.tar.gz" \
140140 "`pwd`/otp_archive.tar.gz"
141141 - name : Upload restored cache
142- 142+ 143143 if : runner.debug == 1
144144 with :
145145 name : restored-cache
@@ -166,7 +166,7 @@ jobs:
166166 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'
167167 gzip otp_cache.tar
168168 - name : Upload pre-built tar archives
169- 169+ 170170 with :
171171 name : otp_prebuilt
172172 path : |
@@ -181,16 +181,16 @@ jobs:
181181 env :
182182 WXWIDGETS_VERSION : 3.1.5
183183 steps :
184- -
uses :
actions/[email protected] .1 184+ -
uses :
actions/[email protected] .4 185185
186186 - name : Download source archive
187- 187+ 188188 with :
189189 name : otp_prebuilt
190190
191191 - name : Cache wxWidgets
192192 id : wxwidgets-cache
193- 193+ 194194 with :
195195 path : wxWidgets
196196 key : wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-12
@@ -216,7 +216,7 @@ jobs:
216216 ./bin/erl -noshell -eval '{wx_ref,_,_,_} = wx:new(), io:format("wx ok~n"), halt().'
217217
218218 - name : Upload tarball
219- 219+ 220220 with :
221221 name : otp_prebuilt_macos_x86-64
222222 path : otp/otp_macos_*_x86-64.tar.gz
@@ -229,9 +229,9 @@ jobs:
229229 runs-on : macos-12
230230 needs : pack
231231 steps :
232- -
uses :
actions/[email protected] .1 232+ -
uses :
actions/[email protected] .4 233233 - name : Download source archive
234- 234+ 235235 with :
236236 name : otp_prebuilt
237237
@@ -250,7 +250,7 @@ jobs:
250250 xcodebuild -create-xcframework -output ./liberlang.xcframework -library liberlang.a
251251
252252 - name : Upload framework
253- 253+ 254254 with :
255255 name : ios_framework_${{ env.TARGET_ARCH }}
256256 path : otp/liberlang.xcframework
@@ -266,7 +266,7 @@ jobs:
266266 needs : pack
267267 if : needs.pack.outputs.c-code-changes
268268 steps :
269- - uses : Vampire/setup-wsl@v2 .0.2
269+ - uses : Vampire/setup-wsl@v3 .0.0
270270 with :
271271 distribution : Ubuntu-18.04
272272
@@ -280,7 +280,7 @@ jobs:
280280 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")
281281
282282 - name : Cache wxWidgets
283- 283+ 284284 with :
285285 path : wxWidgets
286286 key : wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}
@@ -322,7 +322,7 @@ jobs:
322322 nmake TARGET_CPU=amd64 BUILD=release SHARED=0 DIR_SUFFIX_CPU= -f makefile.vc
323323
324324 - name : Download source archive
325- 325+ 326326 with :
327327 name : otp_prebuilt
328328
@@ -350,7 +350,7 @@ jobs:
350350 ./otp_build installer_win32
351351
352352 - name : Upload installer
353- 353+ 354354 with :
355355 name : otp_win32_installer
356356 path : otp/release/win32/otp*.exe
@@ -362,7 +362,7 @@ jobs:
362362 if : needs.pack.outputs.c-code-changes
363363
364364 steps :
365- -
uses :
actions/[email protected] .1 365+ -
uses :
actions/[email protected] .4 366366 - uses : ./.github/actions/build-base-image
367367 with :
368368 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -390,7 +390,7 @@ jobs:
390390 fail-fast : false
391391
392392 steps :
393- -
uses :
actions/[email protected] .1 393+ -
uses :
actions/[email protected] .4 394394 - uses : ./.github/actions/build-base-image
395395 with :
396396 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -401,7 +401,7 @@ jobs:
401401 runs-on : ubuntu-latest
402402 needs : pack
403403 steps :
404- -
uses :
actions/[email protected] .1 404+ -
uses :
actions/[email protected] .4 405405 - uses : ./.github/actions/build-base-image
406406 with :
407407 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -423,7 +423,7 @@ jobs:
423423 rm -rf man
424424 tar czf ../otp_doc_html.tar.gz *
425425 - name : Upload html documentation archive
426- 426+ 427427 with :
428428 name : otp_doc_html
429429 path : otp_doc_html.tar.gz
@@ -443,7 +443,7 @@ jobs:
443443 runs-on : ubuntu-latest
444444 needs : pack
445445 steps :
446- -
uses :
actions/[email protected] .1 446+ -
uses :
actions/[email protected] .4 447447 - uses : ./.github/actions/build-base-image
448448 with :
449449 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -472,7 +472,7 @@ jobs:
472472 # type: ["os_mon","sasl"]
473473 fail-fast : false
474474 steps :
475- -
uses :
actions/[email protected] .1 475+ -
uses :
actions/[email protected] .4 476476 - uses : ./.github/actions/build-base-image
477477 with :
478478 BASE_BRANCH : ${{ env.BASE_BRANCH }}
@@ -509,7 +509,7 @@ jobs:
509509 sudo bash -c "chown -R `whoami` make_test_dir && chmod -R +r make_test_dir"
510510 tar czf ${{ matrix.type }}_test_results.tar.gz make_test_dir
511511 - name : Upload test results
512- 512+ 513513 if : ${{ !cancelled() }}
514514 with :
515515 name : ${{ matrix.type }}_test_results
@@ -521,12 +521,12 @@ jobs:
521521 if : ${{ !cancelled() }} # Run even if the need has failed
522522 needs : test
523523 steps :
524- -
uses :
actions/[email protected] .1 524+ -
uses :
actions/[email protected] .4 525525 - uses : ./.github/actions/build-base-image
526526 with :
527527 BASE_BRANCH : ${{ env.BASE_BRANCH }}
528528 - name : Download test results
529- 529+ 530530 - name : Merge test results
531531 run : |
532532 shopt -s nullglob
@@ -556,14 +556,14 @@ jobs:
556556 -e 's:\(file="erts/\)make_test_dir/[^/]*:\1test:g' \
557557 make_test_dir/*_junit.xml
558558 - name : Upload test results
559- 559+ 560560 if : ${{ !cancelled() }}
561561 with :
562562 name : test_results
563563 path : test_results.tar.gz
564564 - name : Upload Test Results
565565 if : ${{ !cancelled() }}
566- 566+ 567567 with :
568568 name : Unit Test Results
569569 path : |
@@ -590,15 +590,15 @@ jobs:
590590 echo "tag=${TAG}" >> $GITHUB_OUTPUT
591591 echo "vsn=${VSN}" >> $GITHUB_OUTPUT
592592
593- -
uses :
actions/[email protected] .1 593+ -
uses :
actions/[email protected] .4 594594
595595 # # Publish the pre-built archive and docs
596596 - name : Download source archive
597- 597+ 598598 with :
599599 name : otp_prebuilt
600600 - name : Download html docs
601- 601+ 602602 with :
603603 name : otp_doc_html
604604 - name : Download man docs
@@ -621,7 +621,7 @@ jobs:
621621 sha256sum $FILES > SHA256.txt
622622
623623 - name : Upload pre-built and doc tar archives
624- uses : softprops/action-gh-release@v1
624+ uses : softprops/action-gh-release@v2.0.4
625625 with :
626626 name : OTP ${{ steps.tag.outputs.vsn }}
627627 files : |
@@ -640,7 +640,7 @@ jobs:
640640 runs-on : ubuntu-latest
641641 steps :
642642 - name : Upload
643- 643+ 644644 with :
645645 name : Event File
646646 path : ${{ github.event_path }}
0 commit comments