Skip to content
Discussion options

You must be logged in to vote

Issue was that I was using linux agent 🤦‍♂️

Following action does the trick:

name: Build

on:
  workflow_dispatch:
  push:
    branches: [main]
  pull_request:
    branches: [main]

jobs: 
  build:
    name: Build ${{ matrix.configuration }}
    runs-on: windows-latest
    strategy:
      matrix:
        configuration: ['Debug', 'Release']
    steps:
    - uses: actions/checkout@v2
    - name: Setup .NET
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 6.x
    - name: Install workload
      run: dotnet workload install maui-android
    - name: Setup Java SDK
      uses: actions/setup-java@v1
      with:
        java-version: 17
    - name: Build
      run: dotnet bu…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@maxkoshevoi
Comment options

@charleszh-dev
Comment options

Comment options

You must be logged in to vote
1 reply
@Ghostbird
Comment options

Answer selected by maxkoshevoi
Comment options

You must be logged in to vote
1 reply
@Ghostbird
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
s/question ? Further information is requested
5 participants