Skip to content

yml fix

yml fix #154

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
# TODO want macos-latest here too, but the build currently fails there
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
path: "SQLitePCL.raw"
- uses: actions/checkout@v2
with:
repository: ericsink/cb
path: "cb"
- name: "Set up Java: 11"
uses: actions/setup-java@v1
with:
java-version: 11
- name: Setup Android SDK 27, 28, 29 and 30
uses: android-actions/setup-android@v3
with:
cmdline-tools-version: 9123335
run: sdkmanager tools "platforms;android-27" "platforms;android-28" "platforms;android-29" "platforms;android-30"
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
include-prerelease: true
- name: Install workload ios
run: dotnet workload install ios
- name: Install workload maccatalyst
run: dotnet workload install maccatalyst
- name: Install workload android
run: dotnet workload install android
- name: Install workload tvos
run: dotnet workload install tvos
- name: Setup .NET 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Install T4
run: dotnet tool install --global dotnet-t4
- name: Build
run: |
cd SQLitePCL.raw/build
dotnet run