-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Merge pull request #10 from exendahal/fix/change_project_directory
Change project directory
Showing
65 changed files
with
153 additions
and
134 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build Package for CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "develop" | ||
paths-ignore: | ||
- "**.md" | ||
pull_request: | ||
branches: | ||
- "main" | ||
- "develop" | ||
|
||
env: | ||
BUILD_CONFIGURATION: Release | ||
DOTNET_VERSION: 8.0.x | ||
CSPROJ_TO_BUILD: MAUIWifiManager.csproj | ||
jobs: | ||
build-sample-ci: | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup .NET ${{ env.DOTNET_VERSION }} | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
|
||
- name: Install .NET MAUI Workload | ||
run: dotnet workload install maui | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore src\MAUIWifiManager\${{ env.CSPROJ_TO_BUILD }} | ||
|
||
- name: Build Package ${{ env.CSPROJ_TO_BUILD }} | ||
run: dotnet build src\MAUIWifiManager\${{ env.CSPROJ_TO_BUILD }} -c ${{ env.BUILD_CONFIGURATION }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Create a (Pre)release on NuGet | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
- "v[0-9]+.[0-9]+.[0-9]+-preview[0-9]+" | ||
|
||
jobs: | ||
release-nuget: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Verify commit exists in origin/main | ||
run: | | ||
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* | ||
git branch --remote --contains | grep origin/main | ||
- name: Get version information from tag | ||
id: get_version | ||
run: | | ||
$version="${{github.ref_name}}".TrimStart("v") | ||
"version-without-v=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append | ||
- name: Install .NET MAUI Workload | ||
run: dotnet workload install maui | ||
|
||
- name: Pack | ||
run: dotnet pack src\MAUIWifiManager\MAUIWifiManager.csproj -c Release -p:PackageVersion=${{ steps.get_version.outputs.version-without-v }} | ||
|
||
- name: Push | ||
run: dotnet nuget push src\MAUIWifiManager\bin\Release\MAUIWifiManager.${{ steps.get_version.outputs.version-without-v }}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.NUGET_API_KEY }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build Sample for CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
- "develop" | ||
paths-ignore: | ||
- "**.md" | ||
pull_request: | ||
branches: | ||
- "main" | ||
- "develop" | ||
|
||
env: | ||
BUILD_CONFIGURATION: Release | ||
DOTNET_VERSION: 8.0.x | ||
CSPROJ_TO_BUILD: DemoApp.csproj | ||
jobs: | ||
build-sample-ci: | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup .NET ${{ env.DOTNET_VERSION }} | ||
uses: actions/setup-dotnet@v2 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
|
||
- name: Install .NET MAUI Workload | ||
run: dotnet workload install maui | ||
|
||
- name: Restore dependencies | ||
run: dotnet restore samples\${{ env.CSPROJ_TO_BUILD }} | ||
|
||
- name: Build Demo App ${{ env.CSPROJ_TO_BUILD }} | ||
run: dotnet build samples\${{ env.CSPROJ_TO_BUILD }} -c ${{ env.BUILD_CONFIGURATION }} -f:net8.0-android |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.10.35122.118 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DemoApp", "DemoApp.csproj", "{8F2F33EC-3233-42FF-852C-14D7285F29FC}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiWifiManager", "..\src\MAUIWifiManager\MauiWifiManager.csproj", "{FF62D77B-5094-472E-878B-385723BFB4B4}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{8F2F33EC-3233-42FF-852C-14D7285F29FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{8F2F33EC-3233-42FF-852C-14D7285F29FC}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{8F2F33EC-3233-42FF-852C-14D7285F29FC}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{8F2F33EC-3233-42FF-852C-14D7285F29FC}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{8F2F33EC-3233-42FF-852C-14D7285F29FC}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{8F2F33EC-3233-42FF-852C-14D7285F29FC}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
{FF62D77B-5094-472E-878B-385723BFB4B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{FF62D77B-5094-472E-878B-385723BFB4B4}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{FF62D77B-5094-472E-878B-385723BFB4B4}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{FF62D77B-5094-472E-878B-385723BFB4B4}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {96135521-CFD4-443F-BC70-4E27005355CE} | ||
EndGlobalSection | ||
EndGlobal |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes