< prev index next >

.github/actions/upload-bundles/action.yml

Print this page

52           mv "$jdk_bundle_zip" "bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip"
53         fi
54         if [[ "$jdk_bundle_tar_gz" != "" ]]; then
55           mv "$jdk_bundle_tar_gz" "bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
56         fi
57         if [[ "$symbols_bundle" != "" ]]; then
58           mv "$symbols_bundle" "bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
59         fi
60         if [[ "$tests_bundle" != "" ]]; then
61           mv "$tests_bundle" "bundles/tests-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
62         fi
63 
64         if [[ "$jdk_bundle_zip$jdk_bundle_tar_gz$symbols_bundle$tests_bundle" != "" ]]; then
65           echo 'bundles-found=true' >> $GITHUB_OUTPUT
66         else
67           echo 'bundles-found=false' >> $GITHUB_OUTPUT
68         fi
69       shell: bash
70 
71     - name: 'Upload bundles artifact'
72       uses: actions/upload-artifact@v3
73       with:
74         name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
75         path: bundles
76         retention-days: 1
77       if: steps.bundles.outputs.bundles-found == 'true'

52           mv "$jdk_bundle_zip" "bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip"
53         fi
54         if [[ "$jdk_bundle_tar_gz" != "" ]]; then
55           mv "$jdk_bundle_tar_gz" "bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
56         fi
57         if [[ "$symbols_bundle" != "" ]]; then
58           mv "$symbols_bundle" "bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
59         fi
60         if [[ "$tests_bundle" != "" ]]; then
61           mv "$tests_bundle" "bundles/tests-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
62         fi
63 
64         if [[ "$jdk_bundle_zip$jdk_bundle_tar_gz$symbols_bundle$tests_bundle" != "" ]]; then
65           echo 'bundles-found=true' >> $GITHUB_OUTPUT
66         else
67           echo 'bundles-found=false' >> $GITHUB_OUTPUT
68         fi
69       shell: bash
70 
71     - name: 'Upload bundles artifact'
72       uses: actions/upload-artifact@v4
73       with:
74         name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
75         path: bundles
76         retention-days: 1
77       if: steps.bundles.outputs.bundles-found == 'true'
< prev index next >