diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index 43d29854..065beae0 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -47,14 +47,14 @@ jobs: - name: Chocolatey 🍫📦 run: | sudo apt-get update || true - echo deb http://archive.debian.org/debian buster-backports main | tee /etc/apt/sources.list.d/buster-backports.list; \ - apt-get update && apt-get install -t buster-backports git -y + echo deb http://archive.debian.org/debian buster-backports main | sudo tee /etc/apt/sources.list.d/buster-backports.list; \ + sudo apt-get update && sudo apt-get install -t buster-backports git -y curl -o packages-microsoft-prod.deb https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb; \ - dpkg -i packages-microsoft-prod.deb; \ - apt-get update; \ - apt-get install -y dotnet-sdk-6.0 + sudo dpkg -i packages-microsoft-prod.deb; \ + sudo apt-get update; \ + sudo apt-get install -y dotnet-sdk-6.0 sudo apt-get -yq --no-install-suggests --no-install-recommends install mono-runtime mono-complete - + chmod +x *.sh # prevent choco build to calculate version from tag of main repository unset GITHUB_REF GITHUB_BASE_REF GITHUB_HEAD_REF