diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..79fc83ae --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 215352ac..0340214b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,19 +20,19 @@ env: jobs: build: - runs-on: macos-latest + runs-on: ubuntu-latest name: Build steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - name: Setup .NET 7 - uses: actions/setup-dotnet@v1 + - name: Setup .NET 6 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 6.0.x include-prerelease: true - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: distribution: 'microsoft' java-version: '11' @@ -42,11 +42,9 @@ jobs: dotnet workload install android --ignore-failed-sources dotnet workload install maui-android --ignore-failed-sources dotnet workload install maui-tizen --ignore-failed-sources - dotnet workload install maui-ios - dotnet workload install maccatalyst - name: Restore Dependencies - run: dotnet restore Trimble.Modus.Components.sln + run: dotnet restore ./dotnet/src/Modus.sln - name: Build MAUI Android - run: dotnet build Trimble.Modus.Components.sln -f net7.0-android -c Release --no-restore + run: dotnet build ./dotnet/src/Modus.sln -f net6.0 -c Release --no-restore