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'
|
if: always() && runner.os == 'Linux'
|
||||||
run: docker cp ${{github.sha}}:/tmp/bottles .
|
run: docker cp ${{github.sha}}:/tmp/bottles .
|
||||||
|
|
||||||
- name: Failures summary for brew test-bot --only-formulae
|
- name: Failures Summary and Bottle Result
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
uses: Homebrew/actions/failures-summary-and-bottle-result@master
|
||||||
touch bottles/steps_output.txt
|
with:
|
||||||
cat bottles/steps_output.txt
|
workdir: ${{matrix.workdir || github.workspace}}
|
||||||
rm bottles/steps_output.txt
|
|
||||||
|
|
||||||
- name: Output brew bottle result
|
|
||||||
if: always()
|
|
||||||
run: |
|
|
||||||
cat bottles/bottle_output.txt
|
|
||||||
rm bottles/bottle_output.txt
|
|
||||||
|
|
||||||
- name: Upload logs
|
- name: Upload logs
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
|
|
|
@ -229,12 +229,11 @@ jobs:
|
||||||
cd bottles
|
cd bottles
|
||||||
brew test-bot ${{ needs.setup_tests.outputs.test-bot-formulae-args }}
|
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()
|
if: always()
|
||||||
run: |
|
uses: Homebrew/actions/failures-summary-and-bottle-result@master
|
||||||
touch bottles/steps_output.txt
|
with:
|
||||||
cat bottles/steps_output.txt
|
workdir: ${{matrix.workdir || github.workspace}}
|
||||||
rm bottles/steps_output.txt
|
|
||||||
|
|
||||||
- name: Output brew linkage result
|
- name: Output brew linkage result
|
||||||
if: always()
|
if: always()
|
||||||
|
@ -242,12 +241,6 @@ jobs:
|
||||||
cat bottles/linkage_output.txt
|
cat bottles/linkage_output.txt
|
||||||
rm 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 }}
|
- 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)}}
|
if: ${{(success() || failure()) && fromJson(needs.setup_tests.outputs.test-dependents)}}
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue