< prev index next >

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

Print this page

 31     required: true
 32   debug-suffix:
 33     description: 'File name suffix denoting debug level, possibly empty'
 34     required: false
 35 outputs:
 36   jdk-path:
 37     description: 'Path to the installed JDK bundle'
 38     value: ${{ steps.path-name.outputs.jdk }}
 39   symbols-path:
 40     description: 'Path to the installed symbols bundle'
 41     value: ${{ steps.path-name.outputs.symbols }}
 42   tests-path:
 43     description: 'Path to the installed tests bundle'
 44     value: ${{ steps.path-name.outputs.tests }}
 45 
 46 runs:
 47   using: composite
 48   steps:
 49     - name: 'Download bundles artifact'
 50       id: download-bundles
 51       uses: actions/download-artifact@v3
 52       with:
 53         name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
 54         path: bundles
 55       continue-on-error: true
 56 
 57     - name: 'Download bundles artifact (retry)'
 58       uses: actions/download-artifact@v3
 59       with:
 60         name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
 61         path: bundles
 62       if: steps.download-bundles.outcome == 'failure'
 63 
 64     - name: 'Unpack bundles'
 65       run: |
 66         if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip ]]; then
 67           echo 'Unpacking jdk bundle...'
 68           mkdir -p bundles/jdk
 69           unzip -q bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip -d bundles/jdk
 70         fi
 71 
 72         if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
 73           echo 'Unpacking jdk bundle...'
 74           mkdir -p bundles/jdk
 75           tar -xf bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz -C bundles/jdk
 76         fi
 77 
 78         if [[ -e bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then

 31     required: true
 32   debug-suffix:
 33     description: 'File name suffix denoting debug level, possibly empty'
 34     required: false
 35 outputs:
 36   jdk-path:
 37     description: 'Path to the installed JDK bundle'
 38     value: ${{ steps.path-name.outputs.jdk }}
 39   symbols-path:
 40     description: 'Path to the installed symbols bundle'
 41     value: ${{ steps.path-name.outputs.symbols }}
 42   tests-path:
 43     description: 'Path to the installed tests bundle'
 44     value: ${{ steps.path-name.outputs.tests }}
 45 
 46 runs:
 47   using: composite
 48   steps:
 49     - name: 'Download bundles artifact'
 50       id: download-bundles
 51       uses: actions/download-artifact@v4
 52       with:
 53         name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
 54         path: bundles
 55       continue-on-error: true
 56 
 57     - name: 'Download bundles artifact (retry)'
 58       uses: actions/download-artifact@v4
 59       with:
 60         name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
 61         path: bundles
 62       if: steps.download-bundles.outcome == 'failure'
 63 
 64     - name: 'Unpack bundles'
 65       run: |
 66         if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip ]]; then
 67           echo 'Unpacking jdk bundle...'
 68           mkdir -p bundles/jdk
 69           unzip -q bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip -d bundles/jdk
 70         fi
 71 
 72         if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
 73           echo 'Unpacking jdk bundle...'
 74           mkdir -p bundles/jdk
 75           tar -xf bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz -C bundles/jdk
 76         fi
 77 
 78         if [[ -e bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
< prev index next >