Add CI builds for Android #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android | |
on: | |
push: | |
jobs: | |
build: | |
name: Build and create APK | |
strategy: | |
matrix: | |
configuration: [Debug, Release] | |
runs-on: ubuntu-24.04 | |
env: | |
App_Project_Directory: src/Vocup.Android | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Install .NET SDK | |
- name: Install .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 9.0.x | |
- name: Restore NuGet packages | |
run: dotnet restore --configuration ${{ matrix.configuration }} $App_Project_Directory | |
- name: Build and create APK | |
run: dotnet build --no-restore --configuration ${{ matrix.configuration }} $App_Project_Directory |