dispatch-build-bottle: use composite action (#106155)
* Update github actions to use composite action created before * Update tests.yml * Update tests.yml * Update composite action to use workdir input * Change composite action naming * Update composite action * Update composite action on dispatch build bottlemaster
parent
6a90aba873
commit
6a81dff09e
|
@ -132,19 +132,12 @@ jobs:
|
|||
if: always() && runner.os == 'Linux'
|
||||
run: docker cp ${{github.sha}}:/tmp/bottles .
|
||||
|
||||
- name: Failures summary for brew test-bot --only-formulae
|
||||
- name: Failures Summary and Bottle Result
|
||||
if: always()
|
||||
run: |
|
||||
touch bottles/steps_output.txt
|
||||
cat bottles/steps_output.txt
|
||||
rm bottles/steps_output.txt
|
||||
|
||||
- name: Output brew bottle result
|
||||
if: always()
|
||||
run: |
|
||||
cat bottles/bottle_output.txt
|
||||
rm bottles/bottle_output.txt
|
||||
|
||||
uses: Homebrew/actions/failures-summary-and-bottle-result@master
|
||||
with:
|
||||
workdir: ${{matrix.workdir || github.workspace}}
|
||||
|
||||
- name: Upload logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@main
|
||||
|
|
|
@ -229,12 +229,11 @@ jobs:
|
|||
cd bottles
|
||||
brew test-bot ${{ needs.setup_tests.outputs.test-bot-formulae-args }}
|
||||
|
||||
- name: Failures summary for brew test-bot ${{ needs.setup_tests.outputs.test-bot-formulae-args }}
|
||||
- name: Failures Summary and Bottle Result
|
||||
if: always()
|
||||
run: |
|
||||
touch bottles/steps_output.txt
|
||||
cat bottles/steps_output.txt
|
||||
rm bottles/steps_output.txt
|
||||
uses: Homebrew/actions/failures-summary-and-bottle-result@master
|
||||
with:
|
||||
workdir: ${{matrix.workdir || github.workspace}}
|
||||
|
||||
- name: Output brew linkage result
|
||||
if: always()
|
||||
|
@ -242,12 +241,6 @@ jobs:
|
|||
cat bottles/linkage_output.txt
|
||||
rm bottles/linkage_output.txt
|
||||
|
||||
- name: Output brew bottle result
|
||||
if: always()
|
||||
run: |
|
||||
cat bottles/bottle_output.txt
|
||||
rm bottles/bottle_output.txt
|
||||
|
||||
- name: Run brew test-bot ${{ needs.setup_tests.outputs.test-bot-dependents-args }} --skipped-or-failed-formulae=${{ steps.brew-test-bot-formulae.outputs.skipped_or_failed_formulae }}
|
||||
if: ${{(success() || failure()) && fromJson(needs.setup_tests.outputs.test-dependents)}}
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue