Update main.yml

This commit is contained in:
Afshin Arani 2020-04-02 10:52:59 +04:30 committed by GitHub
parent baedcb2d56
commit 7414e4ba6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,10 @@
name: CI Build
on: [push, pull_request]
env:
NUGET_URL: https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
jobs:
linux:
runs-on: ubuntu-latest
@ -8,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- name: Download latest NuGet
run: wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
run: wget $NUGET_URL
- name: Install Dependencies
run: mono nuget.exe restore
@ -22,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- name: Download latest NuGet
run: curl -o nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
run: curl -o nuget.exe $NUGET_URL
- name: Install Dependencies
run: mono nuget.exe restore