Skip to content

Commit

Permalink
Update GitHub Action Versions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 20, 2024
1 parent 1e2e090 commit d58c95f
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 43 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build-base-image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

- name: Cache BASE image
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
if: inputs.TYPE == '64-bit' || inputs.TYPE == 'clang'
with:
path: otp_docker_base.tar
Expand All @@ -46,13 +46,13 @@ runs:

- name: Cache pre-built src
if: inputs.BUILD_IMAGE == 'true'
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: otp_src.tar.gz
key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }}
- name: Cache pre-built binaries
if: inputs.BUILD_IMAGE == 'true'
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: otp_cache.tar.gz
key: prebuilt-cache-${{ inputs.TYPE }}-${{ github.ref_name }}-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/actions-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v1.10.4
uses: actions/create-github-app-token@v1.11.0
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PEM }}

- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
with:
token: ${{ steps.generate_token.outputs.token }}

Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
c-code-changes: ${{ steps.c-code-changes.outputs.changes }}
all: ${{ steps.apps.outputs.all }}
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand Down Expand Up @@ -79,14 +79,14 @@ jobs:
with:
filters: .github/scripts/c-code-path-filters.yaml
- name: Cache pre-built src
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: otp_src.tar.gz
key: prebuilt-src-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
prebuilt-src-${{ github.base_ref }}-${{ github.event.pull_request.base.sha }}
- name: Cache pre-built binaries
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: otp_cache.tar.gz
key: prebuilt-cache-64-bit-${{ github.ref_name }}-${{ github.sha }}
Expand All @@ -95,7 +95,7 @@ jobs:
- name: Create initial pre-release tar
run: .github/scripts/init-pre-release.sh otp_archive.tar.gz otp_src.tar.gz
- name: Upload source tar archive
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: otp_git_archive
path: otp_archive.tar.gz
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
"`pwd`/.github/otp.tar.gz" \
"`pwd`/otp_archive.tar.gz"
- name: Upload restored cache
uses: actions/[email protected].0
uses: actions/[email protected].3
if: runner.debug == 1
with:
name: restored-cache
Expand All @@ -166,7 +166,7 @@ jobs:
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'
gzip otp_cache.tar
- name: Upload pre-built tar archives
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: otp_prebuilt
path: |
Expand All @@ -181,7 +181,7 @@ jobs:
env:
WXWIDGETS_VERSION: 3.1.5
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1

- name: Download source archive
uses: actions/[email protected]
Expand All @@ -190,7 +190,7 @@ jobs:

- name: Cache wxWidgets
id: wxwidgets-cache
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: wxWidgets
key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-${{ hashFiles('.github/scripts/build-macos-wxwidgets.sh')}}-12
Expand All @@ -216,7 +216,7 @@ jobs:
./bin/erl -noshell -eval '{wx_ref,_,_,_} = wx:new(), io:format("wx ok~n"), halt().'
- name: Upload tarball
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: otp_prebuilt_macos_x86-64
path: otp/otp_macos_*_x86-64.tar.gz
Expand All @@ -229,7 +229,7 @@ jobs:
runs-on: macos-12
needs: pack
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- name: Download source archive
uses: actions/[email protected]
with:
Expand All @@ -250,7 +250,7 @@ jobs:
xcodebuild -create-xcframework -output ./liberlang.xcframework -library liberlang.a
- name: Upload framework
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: ios_framework_${{ env.TARGET_ARCH }}
path: otp/liberlang.xcframework
Expand All @@ -266,7 +266,7 @@ jobs:
needs: pack
if: needs.pack.outputs.c-code-changes
steps:
- uses: Vampire/[email protected].1
- uses: Vampire/[email protected].3
with:
distribution: Ubuntu-18.04

Expand All @@ -280,7 +280,7 @@ jobs:
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")
- name: Cache wxWidgets
uses: actions/cache@v4.0.2
uses: actions/cache@v4.1.1
with:
path: wxWidgets
key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}
Expand Down Expand Up @@ -350,7 +350,7 @@ jobs:
./otp_build installer_win32
- name: Upload installer
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: otp_win32_installer
path: otp/release/win32/otp*.exe
Expand All @@ -362,7 +362,7 @@ jobs:
if: needs.pack.outputs.c-code-changes

steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand Down Expand Up @@ -390,7 +390,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand All @@ -401,7 +401,7 @@ jobs:
runs-on: ubuntu-latest
needs: pack
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand Down Expand Up @@ -430,12 +430,12 @@ jobs:
rm -rf man
tar czf ../otp_doc_html.tar.gz *
- name: Upload html documentation archive
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: otp_doc_html
path: otp_doc_html.tar.gz
- name: Upload man documentation archive
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: otp_doc_man
path: otp_doc_man.tar.gz
Expand All @@ -453,7 +453,7 @@ jobs:
runs-on: ubuntu-latest
needs: pack
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand All @@ -476,7 +476,7 @@ jobs:
# type: ["os_mon","sasl"]
fail-fast: false
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand Down Expand Up @@ -513,7 +513,7 @@ jobs:
sudo bash -c "chown -R `whoami` make_test_dir && chmod -R +r make_test_dir"
tar czf ${{ matrix.type }}_test_results.tar.gz make_test_dir
- name: Upload test results
uses: actions/[email protected].0
uses: actions/[email protected].3
if: ${{ !cancelled() }}
with:
name: ${{ matrix.type }}_test_results
Expand All @@ -525,7 +525,7 @@ jobs:
if: ${{ !cancelled() }} # Run even if the need has failed
needs: test
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand Down Expand Up @@ -560,14 +560,14 @@ jobs:
-e 's:\(file="erts/\)make_test_dir/[^/]*:\1test:g' \
make_test_dir/*_junit.xml
- name: Upload test results
uses: actions/[email protected].0
uses: actions/[email protected].3
if: ${{ !cancelled() }}
with:
name: test_results
path: test_results.tar.gz
- name: Upload Test Results
if: ${{ !cancelled() }}
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: Unit Test Results
path: |
Expand All @@ -594,7 +594,7 @@ jobs:
echo "tag=${TAG}" >> $GITHUB_OUTPUT
echo "vsn=${VSN}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1

## Publish the pre-built archive and docs
- name: Download source archive
Expand Down Expand Up @@ -644,7 +644,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
name: Event File
path: ${{ github.event_path }}
4 changes: 2 additions & 2 deletions .github/workflows/osv-scanner-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
outputs:
versions: ${{ steps.get-versions.outputs.versions }}
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- id: get-versions
name: Fetch latest 3 OTP versions
run: |
Expand All @@ -52,7 +52,7 @@ jobs:
permissions:
actions: write
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
with:
ref: ${{ matrix.type }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
outputs:
result: ${{ steps.pr-number.outputs.result }}
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- name: Fetch PR number
id: pr-number
env:
Expand All @@ -40,7 +40,7 @@ jobs:
pull-requests: write
if: github.event.action == 'requested' && needs.pr-number.outputs.result != ''
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
## We create an initial comment with some useful help to the user
- uses: actions/[email protected]
with:
Expand All @@ -63,7 +63,7 @@ jobs:
needs.pr-number.outputs.result != '' &&
github.event.workflow_run.conclusion != 'skipped'
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- name: Download and Extract Artifacts
id: extract
env:
Expand All @@ -88,7 +88,7 @@ jobs:
echo "HAS_TEST_ARTIFACTS=false" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
with:
token: ${{ secrets.ERLANG_TOKEN }}
repository: 'erlang/erlang.github.io'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-github-prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
concurrency: erlang.github.io-deploy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
- uses: actions/checkout@v4.2.1
with:
token: ${{ secrets.ERLANG_TOKEN }}
repository: 'erlang/erlang.github.io'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-github-releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
concurrency: sync-github-releases
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
## We need to login to the package registry in order to pull
## the base debian image.
- name: Docker login
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1
with:
ref: ${{ matrix.branch }}
- name: Cleanup GH Runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload-windows-zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
env:
basename: otp_${{ inputs.target }}_${{ inputs.version }}
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.1

- name: Install OTP
shell: cmd
Expand Down

0 comments on commit d58c95f

Please sign in to comment.