bootstrap: remove all system gnupg/patchelf executables (#47165)
This commit is contained in:
22
.github/workflows/bootstrap.yml
vendored
22
.github/workflows/bootstrap.yml
vendored
@@ -83,12 +83,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup macOS
|
- name: Setup macOS
|
||||||
if: ${{ matrix.runner != 'ubuntu-latest' }}
|
if: ${{ matrix.runner != 'ubuntu-latest' }}
|
||||||
|
run: brew install tree gawk
|
||||||
|
- name: Remove system executables
|
||||||
run: |
|
run: |
|
||||||
brew install tree gawk
|
while [ -n "$(command -v gpg gpg2 patchelf)" ]; do
|
||||||
sudo rm -rf $(command -v gpg gpg2)
|
sudo rm $(command -v gpg gpg2 patchelf)
|
||||||
- name: Setup Ubuntu
|
done
|
||||||
if: ${{ matrix.runner == 'ubuntu-latest' }}
|
|
||||||
run: sudo rm -rf $(command -v gpg gpg2 patchelf)
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
|
||||||
with:
|
with:
|
||||||
@@ -110,14 +110,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup macOS
|
- name: Setup macOS
|
||||||
if: ${{ matrix.runner != 'ubuntu-latest' }}
|
if: ${{ matrix.runner != 'ubuntu-latest' }}
|
||||||
|
run: brew install tree
|
||||||
|
- name: Remove system executables
|
||||||
run: |
|
run: |
|
||||||
brew install tree
|
while [ -n "$(command -v gpg gpg2 patchelf)" ]; do
|
||||||
# Remove GnuPG since we want to bootstrap it
|
sudo rm $(command -v gpg gpg2 patchelf)
|
||||||
sudo rm -rf /usr/local/bin/gpg
|
done
|
||||||
- name: Setup Ubuntu
|
|
||||||
if: ${{ matrix.runner == 'ubuntu-latest' }}
|
|
||||||
run: |
|
|
||||||
sudo rm -rf $(which gpg) $(which gpg2) $(which patchelf)
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user