diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2bdad29..dea35b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,6 +31,25 @@ jobs: mono nuget.exe install mono nuget.exe restore + # Runs a set of commands using the runners shell + - name: Build Project + run: xbuild TLSharp.Core/TLSharp.Core.csproj + macos: + # The type of runner that the job will run on + runs-on: macos-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + - name: Download latest NuGet (cross-platform) + uses: olegtarasov/download-nuget@v1 + + - name: Install Dependencies + run: | + mono $NUGET_EXE install + mono $NUGET_EXE restore + # Runs a set of commands using the runners shell - name: Build Project run: xbuild TLSharp.Core/TLSharp.Core.csproj @@ -58,4 +77,3 @@ jobs: - name: Build Project run: MSBuild TLSharp.sln -