diff --git a/.github/workflows/dotnet-release.yml b/.github/workflows/dotnet-release.yml index c360a29..ccdffba 100644 --- a/.github/workflows/dotnet-release.yml +++ b/.github/workflows/dotnet-release.yml @@ -55,10 +55,10 @@ jobs: fetch-depth: 0 - uses: actions/cache@v3 with: - path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} - restore-keys: | - ${{ runner.os }}-nuget- + path: ~/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + restore-keys: | + ${{ runner.os }}-nuget- - name: Setup .NET uses: actions/setup-dotnet@v3 with: diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7a1b057..284671c 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -3,20 +3,8 @@ name: .NET on: push: branches: [ master ] - paths-ignore: - - 'README.md' - - '.gitignore' - - 'appsettings.Example.json' - - '.github/**' - - '.idea/**' pull_request: branches: [ master ] - paths-ignore: - - 'README.md' - - '.gitignore' - - 'appsettings.Example.json' - - '.github/**' - - '.idea/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -31,10 +19,10 @@ jobs: fetch-depth: 0 - uses: actions/cache@v3 with: - path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} - restore-keys: | - ${{ runner.os }}-nuget- + path: ~/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + restore-keys: | + ${{ runner.os }}-nuget- - name: Setup .NET uses: actions/setup-dotnet@v3 with: