8284622: Update versions of some Github Actions used in JDK workflow

Reviewed-by: ihse
This commit is contained in:
Christoph Langer 2022-04-12 12:11:18 +00:00
parent 4cd0921cf6
commit 5851631de2

View File

@ -56,7 +56,7 @@ jobs:
if: steps.check_submit.outputs.should_run != 'false' if: steps.check_submit.outputs.should_run != 'false'
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: jdk path: jdk
if: steps.check_submit.outputs.should_run != 'false' if: steps.check_submit.outputs.should_run != 'false'
@ -94,14 +94,14 @@ jobs:
- name: Check if a jtreg image is present in the cache - name: Check if a jtreg image is present in the cache
id: jtreg id: jtreg
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/jtreg/ path: ~/jtreg/
key: jtreg-${{ env.JTREG_REF }}-v1 key: jtreg-${{ env.JTREG_REF }}-v1
if: steps.check_submit.outputs.should_run != 'false' if: steps.check_submit.outputs.should_run != 'false'
- name: Checkout the jtreg source - name: Checkout the jtreg source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: "openjdk/jtreg" repository: "openjdk/jtreg"
ref: ${{ env.JTREG_REF }} ref: ${{ env.JTREG_REF }}
@ -119,7 +119,7 @@ jobs:
if: steps.check_submit.outputs.should_run != 'false' && steps.jtreg.outputs.cache-hit != 'true' if: steps.check_submit.outputs.should_run != 'false' && steps.jtreg.outputs.cache-hit != 'true'
- name: Store jtreg for use by later steps - name: Store jtreg for use by later steps
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: transient_jtreg_${{ steps.check_bundle_id.outputs.bundle_id }} name: transient_jtreg_${{ steps.check_bundle_id.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
@ -151,13 +151,13 @@ jobs:
steps: steps:
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: jdk path: jdk
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -173,21 +173,21 @@ jobs:
- name: Restore jtreg artifact - name: Restore jtreg artifact
id: jtreg_restore id: jtreg_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
continue-on-error: true continue-on-error: true
- name: Restore jtreg artifact (retry) - name: Restore jtreg artifact (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
if: steps.jtreg_restore.outcome == 'failure' if: steps.jtreg_restore.outcome == 'failure'
- name: Checkout gtest sources - name: Checkout gtest sources
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: "google/googletest" repository: "google/googletest"
ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}" ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
@ -218,7 +218,7 @@ jobs:
working-directory: jdk working-directory: jdk
- name: Persist test bundles - name: Persist test bundles
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: transient_jdk-linux-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-linux-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: | path: |
@ -279,11 +279,11 @@ jobs:
steps: steps:
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -299,14 +299,14 @@ jobs:
- name: Restore jtreg artifact - name: Restore jtreg artifact
id: jtreg_restore id: jtreg_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
continue-on-error: true continue-on-error: true
- name: Restore jtreg artifact (retry) - name: Restore jtreg artifact (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
@ -314,14 +314,14 @@ jobs:
- name: Restore build artifacts - name: Restore build artifacts
id: build_restore id: build_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-linux-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-linux-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-linux-x64${{ matrix.artifact }} path: ~/jdk-linux-x64${{ matrix.artifact }}
continue-on-error: true continue-on-error: true
- name: Restore build artifacts (retry) - name: Restore build artifacts (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-linux-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-linux-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-linux-x64${{ matrix.artifact }} path: ~/jdk-linux-x64${{ matrix.artifact }}
@ -394,14 +394,14 @@ jobs:
- name: Persist test results - name: Persist test results
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
path: ~/linux-x64${{ matrix.artifact }}_testresults_${{ env.logsuffix }}.zip path: ~/linux-x64${{ matrix.artifact }}_testresults_${{ env.logsuffix }}.zip
continue-on-error: true continue-on-error: true
- name: Persist test outputs - name: Persist test outputs
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
path: ~/linux-x64${{ matrix.artifact }}_testsupport_${{ env.logsuffix }}.zip path: ~/linux-x64${{ matrix.artifact }}_testsupport_${{ env.logsuffix }}.zip
continue-on-error: true continue-on-error: true
@ -462,13 +462,13 @@ jobs:
steps: steps:
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: jdk path: jdk
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -484,14 +484,14 @@ jobs:
- name: Restore build JDK - name: Restore build JDK
id: build_restore id: build_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-linux-x64_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-linux-x64_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-linux-x64 path: ~/jdk-linux-x64
continue-on-error: true continue-on-error: true
- name: Restore build JDK (retry) - name: Restore build JDK (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-linux-x64_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-linux-x64_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-linux-x64 path: ~/jdk-linux-x64
@ -522,7 +522,7 @@ jobs:
- name: Cache sysroot - name: Cache sysroot
id: cache-sysroot id: cache-sysroot
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/sysroot-${{ matrix.debian-arch }}/ path: ~/sysroot-${{ matrix.debian-arch }}/
key: sysroot-${{ matrix.debian-arch }}-${{ hashFiles('jdk/.github/workflows/submit.yml') }} key: sysroot-${{ matrix.debian-arch }}-${{ hashFiles('jdk/.github/workflows/submit.yml') }}
@ -609,13 +609,13 @@ jobs:
steps: steps:
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: jdk path: jdk
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -631,21 +631,21 @@ jobs:
- name: Restore jtreg artifact - name: Restore jtreg artifact
id: jtreg_restore id: jtreg_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
continue-on-error: true continue-on-error: true
- name: Restore jtreg artifact (retry) - name: Restore jtreg artifact (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
if: steps.jtreg_restore.outcome == 'failure' if: steps.jtreg_restore.outcome == 'failure'
- name: Checkout gtest sources - name: Checkout gtest sources
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: "google/googletest" repository: "google/googletest"
ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}" ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
@ -683,7 +683,7 @@ jobs:
working-directory: jdk working-directory: jdk
- name: Persist test bundles - name: Persist test bundles
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: transient_jdk-linux-x86${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-linux-x86${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: | path: |
@ -745,11 +745,11 @@ jobs:
steps: steps:
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -765,14 +765,14 @@ jobs:
- name: Restore jtreg artifact - name: Restore jtreg artifact
id: jtreg_restore id: jtreg_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
continue-on-error: true continue-on-error: true
- name: Restore jtreg artifact (retry) - name: Restore jtreg artifact (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
@ -780,14 +780,14 @@ jobs:
- name: Restore build artifacts - name: Restore build artifacts
id: build_restore id: build_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-linux-x86${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-linux-x86${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-linux-x86${{ matrix.artifact }} path: ~/jdk-linux-x86${{ matrix.artifact }}
continue-on-error: true continue-on-error: true
- name: Restore build artifacts (retry) - name: Restore build artifacts (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-linux-x86${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-linux-x86${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-linux-x86${{ matrix.artifact }} path: ~/jdk-linux-x86${{ matrix.artifact }}
@ -860,14 +860,14 @@ jobs:
- name: Persist test results - name: Persist test results
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
path: ~/linux-x86${{ matrix.artifact }}_testresults_${{ env.logsuffix }}.zip path: ~/linux-x86${{ matrix.artifact }}_testresults_${{ env.logsuffix }}.zip
continue-on-error: true continue-on-error: true
- name: Persist test outputs - name: Persist test outputs
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
path: ~/linux-x86${{ matrix.artifact }}_testsupport_${{ env.logsuffix }}.zip path: ~/linux-x86${{ matrix.artifact }}_testsupport_${{ env.logsuffix }}.zip
continue-on-error: true continue-on-error: true
@ -898,7 +898,7 @@ jobs:
steps: steps:
- name: Restore cygwin installer from cache - name: Restore cygwin installer from cache
id: cygwin-installer id: cygwin-installer
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/cygwin/setup-x86_64.exe path: ~/cygwin/setup-x86_64.exe
key: cygwin-installer key: cygwin-installer
@ -911,7 +911,7 @@ jobs:
- name: Restore cygwin packages from cache - name: Restore cygwin packages from cache
id: cygwin id: cygwin
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/cygwin/packages path: ~/cygwin/packages
key: cygwin-packages-${{ runner.os }}-v1 key: cygwin-packages-${{ runner.os }}-v1
@ -921,13 +921,13 @@ jobs:
Start-Process -FilePath "$HOME\cygwin\setup-x86_64.exe" -ArgumentList "--quiet-mode --packages cygwin=3.2.0-1,autoconf,make,zip,unzip --root $HOME\cygwin\cygwin64 --local-package-dir $HOME\cygwin\packages --site http://mirrors.kernel.org/sourceware/cygwin --no-desktop --no-shortcuts --no-startmenu --no-admin" -Wait -NoNewWindow Start-Process -FilePath "$HOME\cygwin\setup-x86_64.exe" -ArgumentList "--quiet-mode --packages cygwin=3.2.0-1,autoconf,make,zip,unzip --root $HOME\cygwin\cygwin64 --local-package-dir $HOME\cygwin\packages --site http://mirrors.kernel.org/sourceware/cygwin --no-desktop --no-shortcuts --no-startmenu --no-admin" -Wait -NoNewWindow
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: jdk path: jdk
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -997,7 +997,7 @@ jobs:
steps: steps:
- name: Restore cygwin installer from cache - name: Restore cygwin installer from cache
id: cygwin-installer id: cygwin-installer
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/cygwin/setup-x86_64.exe path: ~/cygwin/setup-x86_64.exe
key: cygwin-installer key: cygwin-installer
@ -1010,7 +1010,7 @@ jobs:
- name: Restore cygwin packages from cache - name: Restore cygwin packages from cache
id: cygwin id: cygwin
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/cygwin/packages path: ~/cygwin/packages
key: cygwin-packages-${{ runner.os }}-v1 key: cygwin-packages-${{ runner.os }}-v1
@ -1020,13 +1020,13 @@ jobs:
Start-Process -FilePath "$HOME\cygwin\setup-x86_64.exe" -ArgumentList "--quiet-mode --packages cygwin=3.2.0-1,autoconf,make,zip,unzip --root $HOME\cygwin\cygwin64 --local-package-dir $HOME\cygwin\packages --site http://mirrors.kernel.org/sourceware/cygwin --no-desktop --no-shortcuts --no-startmenu --no-admin" -Wait -NoNewWindow Start-Process -FilePath "$HOME\cygwin\setup-x86_64.exe" -ArgumentList "--quiet-mode --packages cygwin=3.2.0-1,autoconf,make,zip,unzip --root $HOME\cygwin\cygwin64 --local-package-dir $HOME\cygwin\packages --site http://mirrors.kernel.org/sourceware/cygwin --no-desktop --no-shortcuts --no-startmenu --no-admin" -Wait -NoNewWindow
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: jdk path: jdk
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -1042,7 +1042,7 @@ jobs:
if: steps.bootjdk.outputs.cache-hit != 'true' if: steps.bootjdk.outputs.cache-hit != 'true'
- name: Checkout gtest sources - name: Checkout gtest sources
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: "google/googletest" repository: "google/googletest"
ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}" ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
@ -1050,14 +1050,14 @@ jobs:
- name: Restore jtreg artifact - name: Restore jtreg artifact
id: jtreg_restore id: jtreg_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
continue-on-error: true continue-on-error: true
- name: Restore jtreg artifact (retry) - name: Restore jtreg artifact (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
@ -1096,7 +1096,7 @@ jobs:
working-directory: jdk working-directory: jdk
- name: Persist test bundles - name: Persist test bundles
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: transient_jdk-windows-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-windows-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: | path: |
@ -1158,11 +1158,11 @@ jobs:
steps: steps:
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -1179,7 +1179,7 @@ jobs:
- name: Restore cygwin installer from cache - name: Restore cygwin installer from cache
id: cygwin-installer id: cygwin-installer
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/cygwin/setup-x86_64.exe path: ~/cygwin/setup-x86_64.exe
key: cygwin-installer key: cygwin-installer
@ -1192,7 +1192,7 @@ jobs:
- name: Restore cygwin packages from cache - name: Restore cygwin packages from cache
id: cygwin id: cygwin
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/cygwin/packages path: ~/cygwin/packages
key: cygwin-packages-${{ runner.os }}-v1 key: cygwin-packages-${{ runner.os }}-v1
@ -1203,14 +1203,14 @@ jobs:
- name: Restore jtreg artifact - name: Restore jtreg artifact
id: jtreg_restore id: jtreg_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
continue-on-error: true continue-on-error: true
- name: Restore jtreg artifact (retry) - name: Restore jtreg artifact (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
@ -1218,14 +1218,14 @@ jobs:
- name: Restore build artifacts - name: Restore build artifacts
id: build_restore id: build_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-windows-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-windows-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-windows-x64${{ matrix.artifact }} path: ~/jdk-windows-x64${{ matrix.artifact }}
continue-on-error: true continue-on-error: true
- name: Restore build artifacts (retry) - name: Restore build artifacts (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-windows-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-windows-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-windows-x64${{ matrix.artifact }} path: ~/jdk-windows-x64${{ matrix.artifact }}
@ -1306,14 +1306,14 @@ jobs:
- name: Persist test results - name: Persist test results
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
path: ~/windows-x64${{ matrix.artifact }}_testresults_${{ env.logsuffix }}.zip path: ~/windows-x64${{ matrix.artifact }}_testresults_${{ env.logsuffix }}.zip
continue-on-error: true continue-on-error: true
- name: Persist test outputs - name: Persist test outputs
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
path: ~/windows-x64${{ matrix.artifact }}_testsupport_${{ env.logsuffix }}.zip path: ~/windows-x64${{ matrix.artifact }}_testsupport_${{ env.logsuffix }}.zip
continue-on-error: true continue-on-error: true
@ -1345,13 +1345,13 @@ jobs:
steps: steps:
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: jdk path: jdk
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -1367,21 +1367,21 @@ jobs:
- name: Restore jtreg artifact - name: Restore jtreg artifact
id: jtreg_restore id: jtreg_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
continue-on-error: true continue-on-error: true
- name: Restore jtreg artifact (retry) - name: Restore jtreg artifact (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
if: steps.jtreg_restore.outcome == 'failure' if: steps.jtreg_restore.outcome == 'failure'
- name: Checkout gtest sources - name: Checkout gtest sources
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: "google/googletest" repository: "google/googletest"
ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}" ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
@ -1412,7 +1412,7 @@ jobs:
working-directory: jdk working-directory: jdk
- name: Persist test bundles - name: Persist test bundles
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: transient_jdk-macos-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-macos-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: | path: |
@ -1446,13 +1446,13 @@ jobs:
steps: steps:
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: jdk path: jdk
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -1468,21 +1468,21 @@ jobs:
- name: Restore jtreg artifact - name: Restore jtreg artifact
id: jtreg_restore id: jtreg_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
continue-on-error: true continue-on-error: true
- name: Restore jtreg artifact (retry) - name: Restore jtreg artifact (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
if: steps.jtreg_restore.outcome == 'failure' if: steps.jtreg_restore.outcome == 'failure'
- name: Checkout gtest sources - name: Checkout gtest sources
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: "google/googletest" repository: "google/googletest"
ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}" ref: "release-${{ fromJson(needs.prerequisites.outputs.dependencies).GTEST_VERSION }}"
@ -1514,7 +1514,7 @@ jobs:
working-directory: jdk working-directory: jdk
- name: Persist test bundles - name: Persist test bundles
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: transient_jdk-macos-aarch64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-macos-aarch64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: | path: |
@ -1576,11 +1576,11 @@ jobs:
steps: steps:
- name: Checkout the source - name: Checkout the source
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Restore boot JDK from cache - name: Restore boot JDK from cache
id: bootjdk id: bootjdk
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }} path: ~/bootjdk/${{ env.BOOT_JDK_VERSION }}
key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1 key: bootjdk-${{ runner.os }}-${{ env.BOOT_JDK_VERSION }}-${{ env.BOOT_JDK_SHA256 }}-v1
@ -1596,14 +1596,14 @@ jobs:
- name: Restore jtreg artifact - name: Restore jtreg artifact
id: jtreg_restore id: jtreg_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
continue-on-error: true continue-on-error: true
- name: Restore jtreg artifact (retry) - name: Restore jtreg artifact (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jtreg_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jtreg/ path: ~/jtreg/
@ -1611,14 +1611,14 @@ jobs:
- name: Restore build artifacts - name: Restore build artifacts
id: build_restore id: build_restore
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-macos-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-macos-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-macos-x64${{ matrix.artifact }} path: ~/jdk-macos-x64${{ matrix.artifact }}
continue-on-error: true continue-on-error: true
- name: Restore build artifacts (retry) - name: Restore build artifacts (retry)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
name: transient_jdk-macos-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }} name: transient_jdk-macos-x64${{ matrix.artifact }}_${{ needs.prerequisites.outputs.bundle_id }}
path: ~/jdk-macos-x64${{ matrix.artifact }} path: ~/jdk-macos-x64${{ matrix.artifact }}
@ -1697,14 +1697,14 @@ jobs:
- name: Persist test results - name: Persist test results
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
path: ~/macos-x64${{ matrix.artifact }}_testresults_${{ env.logsuffix }}.zip path: ~/macos-x64${{ matrix.artifact }}_testresults_${{ env.logsuffix }}.zip
continue-on-error: true continue-on-error: true
- name: Persist test outputs - name: Persist test outputs
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
path: ~/macos-x64${{ matrix.artifact }}_testsupport_${{ env.logsuffix }}.zip path: ~/macos-x64${{ matrix.artifact }}_testsupport_${{ env.logsuffix }}.zip
continue-on-error: true continue-on-error: true
@ -1727,7 +1727,7 @@ jobs:
steps: steps:
- name: Determine current artifacts endpoint - name: Determine current artifacts endpoint
id: actions_runtime id: actions_runtime
uses: actions/github-script@v3 uses: actions/github-script@v6
with: with:
script: "return { url: process.env['ACTIONS_RUNTIME_URL'], token: process.env['ACTIONS_RUNTIME_TOKEN'] }" script: "return { url: process.env['ACTIONS_RUNTIME_URL'], token: process.env['ACTIONS_RUNTIME_TOKEN'] }"
@ -1750,7 +1750,7 @@ jobs:
done done
- name: Fetch remaining artifacts (test results) - name: Fetch remaining artifacts (test results)
uses: actions/download-artifact@v2 uses: actions/download-artifact@v3
with: with:
path: test-results path: test-results
@ -1767,7 +1767,7 @@ jobs:
done done
- name: Upload a combined test results artifact - name: Upload a combined test results artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: test-results_${{ needs.prerequisites.outputs.bundle_id }} name: test-results_${{ needs.prerequisites.outputs.bundle_id }}
path: test-results path: test-results