Skip to content

Commit

Permalink
Merge pull request #51 from prplecake/fix-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
prplecake authored Apr 5, 2023
2 parents 3b3e909 + 3e6a8dd commit 1326f2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
20 changes: 4 additions & 16 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down

0 comments on commit 1326f2f

Please sign in to comment.