Skip to content

Commit

Permalink
More CI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Apr 12, 2024
1 parent aa0fade commit 77ba6e0
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,23 @@ on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
- '**/*.gitignore'
- '**/*.gitattributes'
pull_request:
branches:
- master

env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

# https://blog.taranissoftware.com/build-net-maui-apps-with-github-actions
jobs:
build:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
# Setup code, .NET and Android
- uses: actions/checkout@v4
Expand All @@ -19,16 +29,16 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Set up JDK 17
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '22'
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
# Restore and build
- name: Install workloads
run: dotnet workload restore
run: dotnet workload install maui --ignore-failed-sources
- name: Install dependencies
run: dotnet restore
- name: Build
Expand Down

0 comments on commit 77ba6e0

Please sign in to comment.