fix ci?
This commit is contained in:
parent
7374c81375
commit
a9563f5405
@ -49,9 +49,17 @@ jobs:
|
||||
run: |
|
||||
echo "need_node=$(command -v node >/dev/null 2>&1 && echo 0 || echo 1)" >> $GITHUB_OUTPUT
|
||||
- name: "Usr merge"
|
||||
id: prereq
|
||||
id: usrmerge
|
||||
run: |
|
||||
apt update -y && apt install -y usrmerge
|
||||
sudo cp -ax /bin /bin.backup
|
||||
|
||||
# Convert /bin to a symlink
|
||||
sudo mv /bin/* /usr/bin/
|
||||
sudo rmdir /bin
|
||||
sudo ln -s usr/bin /bin
|
||||
|
||||
# Now try installing usrmerge again
|
||||
sudo apt update && sudo apt install -y usrmerge
|
||||
- name: Install node
|
||||
if: ${{ steps.prereq.outputs.need_node == '1' }}
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user