From fcdfedd40488855db3f9893397107f0179347341 Mon Sep 17 00:00:00 2001 From: L3tum <9307432+L3tum@users.noreply.github.com> Date: Fri, 6 Dec 2019 22:22:47 +0100 Subject: [PATCH] Update netcore.yml --- .github/workflows/netcore.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/netcore.yml b/.github/workflows/netcore.yml index f6f9281..13aa65e 100644 --- a/.github/workflows/netcore.yml +++ b/.github/workflows/netcore.yml @@ -25,5 +25,11 @@ jobs: run: dotnet nuget push nupkgs/HardwareInformation.$(cat ./version).nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json - name: Github Package Release if: startsWith(github.ref, 'refs/tags/') - run: sudo apt-get install -y nuget \ + run: wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \ + && sudo dpkg -i packages-microsoft-prod.deb \ + && sudo add-apt-repository universe \ + && sudo apt-get update \ + && sudo apt-get install apt-transport-https \ + && sudo apt-get update \ + && sudo apt-get install -y nuget \ && nuget push nupkgs/HardwareInformation.$(cat ./version).nupkg -k L3tum:${{ secrets.GITHUB_TOKEN }} -s "https://nuget.pkg.github.com/L3tum/index.json"