From cf156299df18ca3f0999f455b278941859c2af6a Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Fri, 3 Jun 2022 06:47:33 -0700 Subject: [PATCH] use spaces for yaml --- .editorconfig | 6 ++++- .github/workflows/ci.yml | 58 ++++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 30 deletions(-) diff --git a/.editorconfig b/.editorconfig index f06808b..26da656 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,4 +9,8 @@ indent_style = tab indent_size = 2 [*{.props,.targets}] -indent_size = 2 \ No newline at end of file +indent_size = 2 + +[*.yml] +indent_size = 2 +indent_style = space \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd38ef9..f66bb2d 100644 --- a/.github/workflows/ci.yml +++ b/.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/ \ No newline at end of file + - name: Upload Artifacts + uses: actions/upload-artifact@v3 + with: + name: NuGet + path: Artifacts/ \ No newline at end of file