Update action.yml

This commit is contained in:
Igor
2024-06-19 00:21:40 +02:00
committed by GitHub
parent e4dfc7ca46
commit 02f78903bc

View File

@@ -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