Skip to content

Commit

Permalink
Add GitHub Actions integration
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck authored Oct 11, 2023
1 parent b174234 commit f84b349
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build

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

workflow_dispatch:

env:
DOTNETVERSION: 6.0.300

jobs:
buildWindows:
runs-on: windows-2022

env:
Solution_Path: Sample\Auth0MauiApp.sln

steps:
- uses: actions/checkout@v3

- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'

- name: Install .NET Workloads
run: dotnet workload install maui

- name: Install dependencies
run: dotnet restore $env:Solution_Path

- name: Build
run: dotnet build $env:Solution_Path --configuration Release --no-restore

0 comments on commit f84b349

Please sign in to comment.