Skip to content

Removing binary in favour of Nuget #15

Removing binary in favour of Nuget

Removing binary in favour of Nuget #15

Workflow file for this run

name: .NET Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
defaults:
run:
working-directory: ./src
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Prepare
run: dotnet workload install maui-android
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Build
run: dotnet build --configuration Release
- name: Test
run: dotnet test --configuration Release --no-build
- name: Pack
run: dotnet pack --configuration Release --no-build -o nupkg
- name: Upload
uses: actions/upload-artifact@v4
with:
name: All NuGet packages
path: src/nupkg