Skip to content

Commit

Permalink
Add GitHub Actions integration
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Oct 12, 2023
1 parent b174234 commit 1390dbd
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build

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

workflow_dispatch:

jobs:
build:
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: '7.0.402'

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

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

2 changes: 1 addition & 1 deletion Sample/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ publish/
PublishScripts/

# NuGet Packages
*.nupkg
# *.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
Expand Down
Binary file not shown.
10 changes: 10 additions & 0 deletions Sample/Nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="LocalPackages" value="./LocalPackages" />
</packageSources>
<activePackageSource>
<!-- this tells that all of them are active -->
<add key="All" value="(Aggregate source)" />
</activePackageSource>
</configuration>

0 comments on commit 1390dbd

Please sign in to comment.