File tree 1 file changed +8
-13
lines changed
1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change 55
55
vcpkg_triplet : x64-windows
56
56
57
57
runs-on : ${{ matrix.os }}
58
- defaults :
59
- run :
60
- shell : ${{ matrix.shell }}
61
-
62
58
steps :
63
59
- name : Checkout SWMM Repo
64
60
uses : actions/checkout@v4
@@ -110,18 +106,17 @@ jobs:
110
106
sudo apt-get update
111
107
sudo apt-get install -y mono-complete
112
108
113
- - name : Install Mono (macOS )
114
- if : ${{ matrix.os == 'macos -latest' || matrix.os == 'macos-13 ' }}
109
+ - name : Install NuGet (Linux )
110
+ if : ${{ matrix.os == 'ubuntu -latest' }}
115
111
run : |
116
- brew install mono
112
+ sudo apt-get update
113
+ sudo apt-get install -y nuget
114
+ nuget update -self
117
115
118
- - name : Install NuGet
119
- if : ${{ matrix.os != 'windows -latest' }}
116
+ - name : Install NuGet (macOS)
117
+ if : ${{ matrix.os == 'macos -latest' || matrix.os == 'macos-13 ' }}
120
118
run : |
121
- mono --version
122
- wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -O /usr/local/bin/nuget.exe
123
- chmod +x /usr/local/bin/nuget.exe
124
- alias nuget='mono /usr/local/bin/nuget.exe'
119
+ brew install nuget
125
120
nuget update -self
126
121
127
122
- name : Configure Binary Sources (Windows)
You can’t perform that action at this time.
0 commit comments