Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Action Versions #8992

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected].1
uses: actions/[email protected].2
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/[email protected].1
uses: actions/[email protected].2
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/[email protected].1
uses: actions/[email protected].2
with:
path: otp_cache.tar.gz
key: prebuilt-cache-${{ inputs.TYPE }}-${{ github.ref_name }}-${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/actions-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PEM }}

- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
token: ${{ steps.generate_token.outputs.token }}

Expand Down
30 changes: 15 additions & 15 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/[email protected].1
- uses: actions/[email protected].2
- 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/[email protected].1
uses: actions/[email protected].2
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/[email protected].1
uses: actions/[email protected].2
with:
path: otp_cache.tar.gz
key: prebuilt-cache-64-bit-${{ github.ref_name }}-${{ github.sha }}
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
WXWIDGETS_VERSION: 3.2.6
MACOS_VERSION: 15
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2

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

- name: Cache wxWidgets
id: wxwidgets-cache
uses: actions/[email protected].1
uses: actions/[email protected].2
with:
path: wxWidgets
key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-${{ hashFiles('.github/scripts/build-macos-wxwidgets.sh') }}-${{ env.MACOS_VERSION }}
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
runs-on: macos-15
needs: pack
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- name: Download source archive
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -281,7 +281,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/[email protected].1
uses: actions/[email protected].2
with:
path: wxWidgets
key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}
Expand Down Expand Up @@ -363,7 +363,7 @@ jobs:
if: needs.pack.outputs.c-code-changes

steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand Down Expand Up @@ -391,7 +391,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand All @@ -402,7 +402,7 @@ jobs:
runs-on: ubuntu-latest
needs: pack
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand Down Expand Up @@ -456,7 +456,7 @@ jobs:
runs-on: ubuntu-latest
needs: pack
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand All @@ -479,7 +479,7 @@ jobs:
# type: ["os_mon","sasl"]
fail-fast: false
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand Down Expand Up @@ -528,7 +528,7 @@ jobs:
if: ${{ !cancelled() }} # Run even if the need has failed
needs: test
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: ./.github/actions/build-base-image
with:
BASE_BRANCH: ${{ env.BASE_BRANCH }}
Expand Down Expand Up @@ -597,7 +597,7 @@ jobs:
echo "tag=${TAG}" >> $GITHUB_OUTPUT
echo "vsn=${VSN}" >> $GITHUB_OUTPUT

- uses: actions/[email protected].1
- uses: actions/[email protected].2

## Publish the pre-built archive and docs
- name: Download source archive
Expand Down Expand Up @@ -628,7 +628,7 @@ jobs:
sha256sum $FILES > SHA256.txt

- name: Upload pre-built and doc tar archives
uses: softprops/[email protected].8
uses: softprops/[email protected].9
with:
name: OTP ${{ steps.tag.outputs.vsn }}
files: |
Expand Down
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/[email protected].1
- uses: actions/[email protected].2
- id: get-versions
name: Fetch latest 3 OTP versions
run: |
Expand All @@ -52,7 +52,7 @@ jobs:
permissions:
actions: write
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
ref: ${{ matrix.type }}

Expand Down
10 changes: 5 additions & 5 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/[email protected].1
- uses: actions/[email protected].2
- 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/[email protected].1
- uses: actions/[email protected].2
## 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/[email protected].1
- uses: actions/[email protected].2
- name: Download and Extract Artifacts
id: extract
env:
Expand All @@ -88,14 +88,14 @@ jobs:
echo "HAS_TEST_ARTIFACTS=false" >> $GITHUB_OUTPUT
fi

- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
token: ${{ secrets.ERLANG_TOKEN }}
repository: 'erlang/erlang.github.io'
path: erlang.github.io

- name: Publish CT Test Results
uses: EnricoMi/publish-unit-test-result-action@v2.17.1
uses: EnricoMi/publish-unit-test-result-action@v2.18.0
if: steps.extract.outputs.HAS_TEST_ARTIFACTS == 'true'
with:
commit: ${{ github.event.workflow_run.head_sha }}
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/[email protected].1
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/[email protected].2
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/[email protected].1
- uses: actions/[email protected].2
## 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/[email protected].1
- uses: actions/[email protected].2
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/[email protected].1
- uses: actions/[email protected].2

- name: Install OTP
shell: cmd
Expand Down
Loading