From 240c392eec245b99645501f885480090978e5087 Mon Sep 17 00:00:00 2001 From: Yuta Matsumura Date: Sun, 23 Jul 2023 15:56:12 +0900 Subject: [PATCH] update net80-dotnet-format.yml --- .github/workflows/net80-dotnet-format.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/net80-dotnet-format.yml b/.github/workflows/net80-dotnet-format.yml index 2164aa9..6a6c6d7 100644 --- a/.github/workflows/net80-dotnet-format.yml +++ b/.github/workflows/net80-dotnet-format.yml @@ -9,10 +9,7 @@ on: workflow_dispatch: env: - DOTNET_VERSION: '8.0.x' - DOTNET_PREVIEW_VERSION: true DOTNET_FORMAT_VERBOSITY: diag - SOURCE_CODE_PATH: 'consoleapp/consoleapp.csproj' BRANCH: dotnet-format-${{ github.run_id }} permissions: @@ -32,12 +29,13 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: ${{ env.DOTNET_VERSION }} - include-prerelease: ${{ env.DOTNET_PREVIEW_VERSION }} + dotnet-version: '8.0.x' + dotnet-quality: 'preview' - name: Format on branch id: commit-step run: | - dotnet format $SOURCE_CODE_PATH --no-restore --verbosity $DOTNET_FORMAT_VERBOSITY + dotnet format consoleapp/consoleapp.csproj --no-restore --verbosity $DOTNET_FORMAT_VERBOSITY + dotnet format razorpageapp/razorpageapp.csproj --no-restore --verbosity $DOTNET_FORMAT_VERBOSITY git checkout -b $BRANCH git config user.name github-actions[bot] git config user.email 41898282+github-actions[bot]@users.noreply.github.com