mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
Crew update should exit if it fails (#8909)
* make failed crew update cause non-zero errorstatus, update github action * bump version * adjust github action * adjust github action * intentionally break crew update * fix crew update * Add remove package to github action
This commit is contained in:
committed by
GitHub
parent
64cbad2c93
commit
2b946f5561
7
.github/workflows/Unit-Test.yml
vendored
7
.github/workflows/Unit-Test.yml
vendored
@@ -16,8 +16,9 @@ jobs:
|
||||
- name: Unit Tests
|
||||
run: |
|
||||
sudo docker run -t satmandu/crewbuild:amd64 sudo -i -u chronos /bin/bash -c "
|
||||
echo \"CREW_REPO is ${{ github.actor }}\" && \
|
||||
echo \"CREW_REPO is ${{ github.event.pull_request.head.repo.clone_url }}\" && \
|
||||
echo \"CREW_BRANCH is ${{ github.head_ref }}\" && \
|
||||
CREW_REPO=https://github.com/${{ github.actor }}/chromebrew.git CREW_BRANCH=${{ github.head_ref }} crew update && \
|
||||
CREW_REPO=${{ github.event.pull_request.head.repo.clone_url }} CREW_BRANCH=${{ github.head_ref }} crew update && \
|
||||
yes | crew upgrade && \
|
||||
yes | crew install vim"
|
||||
yes | crew install vim && \
|
||||
yes | crew remove vim"
|
||||
|
||||
Reference in New Issue
Block a user