@@ -35,22 +35,22 @@ jobs:
35
35
steps :
36
36
- name : Check if submit tests should actually run depending on secrets and manual triggering
37
37
id : check_submit
38
- run : echo "::set-output name= should_run:: ${{ github.event.inputs.platforms != '' || (!secrets.JDK_SUBMIT_FILTER || startsWith(github.ref, 'refs/heads/submit/')) }}"
38
+ run : echo "should_run= ${{ github.event.inputs.platforms != '' || (!secrets.JDK_SUBMIT_FILTER || startsWith(github.ref, 'refs/heads/submit/')) }}" >> $GITHUB_OUTPUT
39
39
40
40
- name : Check which platforms should be included
41
41
id : check_platforms
42
42
run : |
43
- echo "::set-output name= platform_linux_additional:: ${{ contains(github.event.inputs.platforms, 'linux additional (hotspot only)') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'linux additional (hotspot only)'))) }}"
44
- echo "::set-output name= platform_linux_x64:: ${{ contains(github.event.inputs.platforms, 'linux x64') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'linux x64'))) }}"
45
- echo "::set-output name= platform_linux_x86:: ${{ contains(github.event.inputs.platforms, 'linux x86') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'linux x86'))) }}"
46
- echo "::set-output name= platform_windows_x64:: ${{ contains(github.event.inputs.platforms, 'windows x64') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'windows x64'))) }}"
47
- echo "::set-output name= platform_macos_x64:: ${{ contains(github.event.inputs.platforms, 'macos x64') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'macos x64'))) }}"
48
- echo "::set-output name= platform_macos_aarch64:: ${{ contains(github.event.inputs.platforms, 'macos aarch64') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'macos aarch64'))) }}"
43
+ echo "platform_linux_additional= ${{ contains(github.event.inputs.platforms, 'linux additional (hotspot only)') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'linux additional (hotspot only)'))) }}" >> $GITHUB_OUTPUT
44
+ echo "platform_linux_x64= ${{ contains(github.event.inputs.platforms, 'linux x64') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'linux x64'))) }}" >> $GITHUB_OUTPUT
45
+ echo "platform_linux_x86= ${{ contains(github.event.inputs.platforms, 'linux x86') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'linux x86'))) }}" >> $GITHUB_OUTPUT
46
+ echo "platform_windows_x64= ${{ contains(github.event.inputs.platforms, 'windows x64') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'windows x64'))) }}" >> $GITHUB_OUTPUT
47
+ echo "platform_macos_x64= ${{ contains(github.event.inputs.platforms, 'macos x64') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'macos x64'))) }}" >> $GITHUB_OUTPUT
48
+ echo "platform_macos_aarch64= ${{ contains(github.event.inputs.platforms, 'macos aarch64') || (github.event.inputs.platforms == '' && (secrets.JDK_SUBMIT_PLATFORMS == '' || contains(secrets.JDK_SUBMIT_PLATFORMS, 'macos aarch64'))) }}" >> $GITHUB_OUTPUT
49
49
if : steps.check_submit.outputs.should_run != 'false'
50
50
51
51
- name : Determine unique bundle identifier
52
52
id : check_bundle_id
53
- run : echo "::set-output name= bundle_id:: ${GITHUB_ACTOR}_${GITHUB_SHA:0:8}"
53
+ run : echo "bundle_id= ${GITHUB_ACTOR}_${GITHUB_SHA:0:8}" >> $GITHUB_OUTPUT
54
54
if : steps.check_submit.outputs.should_run != 'false'
55
55
56
56
- name : Checkout the source
61
61
62
62
- name : Determine versions and locations to be used for dependencies
63
63
id : check_deps
64
- run : " echo ::set-output name= dependencies:: `cat make/autoconf/version-numbers make/conf/test-dependencies | sed -e '1i {' -e 's/#.*//g' -e 's/\" //g' -e 's/\\ (.*\\ )=\\ (.*\\ )/\"\\ 1\" : \"\\ 2\" ,/g' -e '$s/,\\ s\\ {0,\\ }$/\\ }/'`"
64
+ run : " echo dependencies= `cat make/autoconf/version-numbers make/conf/test-dependencies | sed -e '1i {' -e 's/#.*//g' -e 's/\" //g' -e 's/\\ (.*\\ )=\\ (.*\\ )/\"\\ 1\" : \"\\ 2\" ,/g' -e '$s/,\\ s\\ {0,\\ }$/\\ }/'` >> $GITHUB_OUTPUT "
65
65
working-directory : jdk
66
66
if : steps.check_submit.outputs.should_run != 'false'
67
67
86
86
else
87
87
V=${FEATURE}
88
88
fi
89
- echo "::set-output name= jdk_version:: ${V}"
89
+ echo "jdk_version= ${V}" >> $GITHUB_OUTPUT
90
90
if : steps.check_submit.outputs.should_run != 'false'
91
91
92
92
- name : Determine the jtreg ref to checkout
1 commit comments
openjdk-notifier[bot] commentedon Nov 14, 2022
Review
Issues