Skip to content

Commit a2371bf

Browse files
github-actions[bot]garazdawi
authored andcommitted
Update github actions versions
1 parent 9563b43 commit a2371bf

File tree

8 files changed

+53
-53
lines changed

8 files changed

+53
-53
lines changed

.github/actions/build-base-image/action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ runs:
2020
run: .github/scripts/cleanup_gh_runner.sh
2121

2222
- name: Cache BASE image
23-
uses: actions/[email protected].0
23+
uses: actions/[email protected].2
2424
if: inputs.TYPE == '64-bit' || inputs.TYPE == 'clang'
2525
with:
2626
path: otp_docker_base.tar
2727
key: ${{ runner.os }}-${{ hashFiles('.github/dockerfiles/Dockerfile.ubuntu-base', '.github/scripts/build-base-image.sh') }}-${{ hashFiles('OTP_VERSION') }}
2828

2929
- name: Docker login
30-
uses: docker/login-action@v3.0.0
30+
uses: docker/login-action@v3.1.0
3131
with:
3232
registry: ghcr.io
3333
username: ${{ github.repository_owner }}
@@ -39,13 +39,13 @@ runs:
3939

4040
- name: Cache pre-built src
4141
if: inputs.BUILD_IMAGE == 'true'
42-
uses: actions/[email protected].0
42+
uses: actions/[email protected].2
4343
with:
4444
path: otp_src.tar.gz
4545
key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }}
4646
- name: Cache pre-built binaries
4747
if: inputs.BUILD_IMAGE == 'true'
48-
uses: actions/[email protected].0
48+
uses: actions/[email protected].2
4949
with:
5050
path: otp_cache.tar.gz
5151
key: prebuilt-cache-${{ inputs.TYPE }}-${{ github.ref_name }}-${{ github.sha }}

.github/workflows/actions-updater.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
steps:
1515
- name: Generate token
1616
id: generate_token
17-
uses: actions/create-github-app-token@v1.7.0
17+
uses: actions/create-github-app-token@v1.9.3
1818
with:
1919
app-id: ${{ secrets.APP_ID }}
2020
private-key: ${{ secrets.APP_PEM }}
2121

22-
- uses: actions/[email protected].1
22+
- uses: actions/[email protected].4
2323
with:
2424
token: ${{ steps.generate_token.outputs.token }}
2525

.github/workflows/add-to-project.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
steps:
1717
- name: Generate token
1818
id: generate_token
19-
uses: actions/create-github-app-token@v1.7.0
19+
uses: actions/create-github-app-token@v1.9.3
2020
with:
2121
app_id: ${{ secrets.APP_ID }}
2222
private_key: ${{ secrets.APP_PEM }}
2323

24-
- uses: actions/add-to-project@v0.5.0
24+
- uses: actions/add-to-project@v1.0.1
2525
with:
2626
project-url: https://github.com/orgs/erlang/projects/13
2727
github-token: ${{ steps.generate_token.outputs.token }}

.github/workflows/main.yaml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
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 }}
@@ -54,7 +54,7 @@ jobs:
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-
- uses: dorny/[email protected].0
57+
- uses: dorny/[email protected].2
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-
uses: actions/[email protected].0
73+
uses: actions/[email protected].2
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-
uses: actions/[email protected].0
80+
uses: actions/[email protected].2
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-
uses: actions/[email protected].0
89+
uses: actions/[email protected].3
9090
with:
9191
name: otp_git_archive
9292
path: otp_archive.tar.gz
93-
- uses: dorny/[email protected].0
93+
- uses: dorny/[email protected].2
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-
uses: actions/[email protected].0
131+
uses: actions/[email protected].3
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-
uses: actions/[email protected].0
158+
uses: actions/[email protected].3
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-
uses: actions/[email protected].1
175+
uses: actions/[email protected].7
176176
with:
177177
name: otp_prebuilt
178178

179179
- name: Cache wxWidgets
180180
id: wxwidgets-cache
181-
uses: actions/[email protected].0
181+
uses: actions/[email protected].2
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-
uses: actions/[email protected].0
207+
uses: actions/[email protected].3
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-
uses: actions/[email protected].1
222+
uses: actions/[email protected].7
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-
uses: actions/[email protected].0
241+
uses: actions/[email protected].3
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-
uses: actions/[email protected].0
270+
uses: actions/[email protected].2
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-
uses: actions/[email protected].1
312+
uses: actions/[email protected].7
313313
with:
314314
name: otp_prebuilt
315315

@@ -337,7 +337,7 @@ jobs:
337337
./otp_build installer_win32
338338
339339
- name: Upload installer
340-
uses: actions/[email protected].0
340+
uses: actions/[email protected].3
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-
uses: actions/[email protected].0
412+
uses: actions/[email protected].3
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-
uses: actions/[email protected].0
498+
uses: actions/[email protected].3
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-
uses: actions/[email protected].1
515+
uses: actions/[email protected].7
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-
uses: actions/[email protected].0
545+
uses: actions/[email protected].3
546546
if: ${{ !cancelled() }}
547547
with:
548548
name: test_results
549549
path: test_results.tar.gz
550550
- name: Upload Test Results
551551
if: ${{ !cancelled() }}
552-
uses: actions/[email protected].0
552+
uses: actions/[email protected].3
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-
uses: actions/[email protected].1
583+
uses: actions/[email protected].7
584584
with:
585585
name: otp_prebuilt
586586
- name: Download html docs
587-
uses: actions/[email protected].1
587+
uses: actions/[email protected].7
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-
uses: actions/[email protected].0
629+
uses: actions/[email protected].3
630630
with:
631631
name: Event File
632632
path: ${{ github.event_path }}

.github/workflows/pr-comment.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
outputs:
2222
result: ${{ steps.pr-number.outputs.result }}
2323
steps:
24-
- uses: actions/[email protected].1
24+
- uses: actions/[email protected].4
2525
- name: Fetch PR number
2626
id: pr-number
2727
env:
@@ -40,7 +40,7 @@ jobs:
4040
pull-requests: write
4141
if: github.event.action == 'requested' && needs.pr-number.outputs.result != ''
4242
steps:
43-
- uses: actions/[email protected].1
43+
- uses: actions/[email protected].4
4444
## We create an initial comment with some useful help to the user
4545
- uses: actions/[email protected]
4646
with:
@@ -63,7 +63,7 @@ jobs:
6363
needs.pr-number.outputs.result != '' &&
6464
github.event.workflow_run.conclusion != 'skipped'
6565
steps:
66-
- uses: actions/[email protected].1
66+
- uses: actions/[email protected].4
6767
- name: Download and Extract Artifacts
6868
id: extract
6969
env:
@@ -88,14 +88,14 @@ jobs:
8888
echo "HAS_TEST_ARTIFACTS=false" >> $GITHUB_OUTPUT
8989
fi
9090
91-
- uses: actions/[email protected].1
91+
- uses: actions/[email protected].4
9292
with:
9393
token: ${{ secrets.ERLANG_TOKEN }}
9494
repository: 'erlang/erlang.github.io'
9595
path: erlang.github.io
9696

9797
- name: Publish CT Test Results
98-
uses: EnricoMi/publish-unit-test-result-action@v2.12.0
98+
uses: EnricoMi/publish-unit-test-result-action@v2.16.1
9999
if: steps.extract.outputs.HAS_TEST_ARTIFACTS == 'true'
100100
with:
101101
commit: ${{ github.event.workflow_run.head_sha }}

0 commit comments

Comments
 (0)