This commit is contained in:
Dan Siegel 2022-06-03 06:47:33 -07:00
Родитель 910c48d2c9
Коммит cf156299df
2 изменённых файлов: 34 добавлений и 30 удалений

Просмотреть файл

@ -9,4 +9,8 @@ indent_style = tab
indent_size = 2
[*{.props,.targets}]
indent_size = 2
indent_size = 2
[*.yml]
indent_size = 2
indent_style = space

58
.github/workflows/ci.yml поставляемый
Просмотреть файл

@ -1,39 +1,39 @@
name: Build Package
on:
push:
branches: [main]
pull_request:
branches: [main]
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build AlohaKit
runs-on: windows-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
build:
name: Build-AlohaKit
runs-on: windows-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET Core 6.0
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Setup .NET Core 6.0
uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- name: Install .NET MAUI Workload
run: dotnet workload install maui
- name: Install .NET MAUI Workload
run: dotnet workload install maui
- name: NuGet Restore
run: dotnet restore ./src/AlohaKit
- name: NuGet Restore
run: dotnet restore ./src/AlohaKit
- name: DotNet Build
run: dotnet build ./src/AlohaKit -c Release
- name: DotNet Build
run: dotnet build ./src/AlohaKit -c Release
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: NuGet
path: Artifacts/
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: NuGet
path: Artifacts/