Skip to content

Commit

Permalink
Update Java, hopefully fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Apr 11, 2024
1 parent 61a4333 commit e3a862f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '11'
java-version: '17'

- name: Disable annotations
run: echo "::remove-matcher owner=csc::"
Expand All @@ -46,7 +46,11 @@ jobs:
shell: bash

- name: Build
run: dotnet run --project build/Build.csproj -- --target=Default
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
export AndroidSdkDirectory=/usr/local/lib/android/sdk
fi
dotnet run --project build/Build.csproj -- --target=Default
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3
Expand Down

0 comments on commit e3a862f

Please sign in to comment.