mirror of
https://github.com/armbian/actions.git
synced 2026-01-06 10:36:19 -08:00
Update action.yml
This commit is contained in:
@@ -38,7 +38,7 @@ runs:
|
||||
run: |
|
||||
|
||||
ssh -o StrictHostKeyChecking=no ${{ inputs.DUT_USER }}@${{ inputs.DUT_IP }} "sed -i 's|http:\/\/[^ ]*|http:\/\/${{ inputs.REPOSITORY }}|' /etc/apt/sources.list.d/armbian.list" || true
|
||||
ssh -o StrictHostKeyChecking=no ${{ inputs.DUT_USER }}@${{ inputs.DUT_IP }} "apt update; dpkg --configure -a; apt-get -y upgrade; apt-get -y install binutils iperf3 neofetch datamash p7zip-full; apt clean" || true
|
||||
ssh -o StrictHostKeyChecking=no ${{ inputs.DUT_USER }}@${{ inputs.DUT_IP }} "apt update; dpkg --configure -a; apt-get -o Dpkg::Options::='--force-confold' --force-yes -fuy dist-upgrade; apt-get -y install binutils iperf3 neofetch datamash p7zip-full; apt clean" || true
|
||||
|
||||
if [ "${{ inputs.REPOSITORY }}" == "beta.armbian.com" ]; then
|
||||
echo "REPOSITORY=beta" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user