From f5da9e8506fa3a4babb56d4b3af40900bbf10d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Salom=C3=A4ki?= Date: Thu, 4 Mar 2021 00:27:03 +0200 Subject: [PATCH 1/3] Update xaml.md (#213) Minor typo fix --- dotnet-desktop-guide/net/wpf/fundamentals/xaml.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet-desktop-guide/net/wpf/fundamentals/xaml.md b/dotnet-desktop-guide/net/wpf/fundamentals/xaml.md index 8bdb76e..4ecbde2 100644 --- a/dotnet-desktop-guide/net/wpf/fundamentals/xaml.md +++ b/dotnet-desktop-guide/net/wpf/fundamentals/xaml.md @@ -270,7 +270,7 @@ Notice that the code-behind file uses the CLR namespace `ExampleNamespace` and d For more information about requirements for code-behind programming in WPF, see [Code-behind, Event Handler, and Partial Class Requirements in WPF](../../../framework/wpf/advanced/code-behind-and-xaml-in-wpf.md#code-behind-event-handler-and-partial-class-requirements-in-wpf). -If you do not want to create a separate code-behind file, you can also inline your code in a XAML file. However, inline code is a less versatile technique that has substantial limitations. For more informaiton, see [Code-Behind and XAML in WPF](../../../framework/wpf/advanced/code-behind-and-xaml-in-wpf.md). +If you do not want to create a separate code-behind file, you can also inline your code in a XAML file. However, inline code is a less versatile technique that has substantial limitations. For more information, see [Code-Behind and XAML in WPF](../../../framework/wpf/advanced/code-behind-and-xaml-in-wpf.md). ### Routed events From 9fe017ab81d69bb28c3b9d650ce61c912992b571 Mon Sep 17 00:00:00 2001 From: David Pine Date: Wed, 3 Mar 2021 16:27:20 -0600 Subject: [PATCH 2/3] Create dotnet-versionsweeper.json (#215) Feedback as part of https://github.com/dotnet/docs-desktop/pull/211#issuecomment-786111444 --- dotnet-versionsweeper.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dotnet-versionsweeper.json diff --git a/dotnet-versionsweeper.json b/dotnet-versionsweeper.json new file mode 100644 index 0000000..4ed8390 --- /dev/null +++ b/dotnet-versionsweeper.json @@ -0,0 +1,5 @@ +{ + "ignore":[ + "samples/**/*.*" + ] +} From c9b2577c69c58d8b61686c8e168b43b96593c473 Mon Sep 17 00:00:00 2001 From: David Pine Date: Wed, 3 Mar 2021 16:27:36 -0600 Subject: [PATCH 3/3] Create version-sweep.yml (#211) --- .github/workflows/version-sweep.yml | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/version-sweep.yml diff --git a/.github/workflows/version-sweep.yml b/.github/workflows/version-sweep.yml new file mode 100644 index 0000000..69881f4 --- /dev/null +++ b/.github/workflows/version-sweep.yml @@ -0,0 +1,43 @@ +# This is a basic workflow to help you get started with Actions + +name: 'target supported version' + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the master branch + schedule: + - cron: '0 0 1 * *' + workflow_dispatch: + inputs: + reason: + description: 'The reason for running the workflow' + required: true + default: 'Manual run' + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + version-sweep: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: 'Print manual run reason' + if: ${{ github.event_name == 'workflow_dispatch' }} + run: | + echo 'Reason: ${{ github.event.inputs.reason }}' + # Start the .NET version sweeper, scan projects/slns for non-LTS (or currrent) versions + - name: .NET version sweeper + id: dotnet-version-sweeper + uses: dotnet/versionsweeper@v1.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + owner: ${{ github.repository_owner }} + name: ${{ github.repository }} + branch: ${{ github.ref }}