Skip to content

Commit 60459c9

Browse files
chore(ci): enable nuget caching + add package.lock (#87)
* change ci * ci test * add lockfiles * ci test * up ci * cleanup * publishable
1 parent a935d56 commit 60459c9

File tree

8 files changed

+5910
-6
lines changed

8 files changed

+5910
-6
lines changed

.github/workflows/dotnet-publish.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ on:
44
push:
55
branches:
66
- master
7-
- '*.x'
7+
- "*.x"
88
# - feature/*
99
paths-ignore:
10-
- '**.md'
10+
- "**.md"
1111

1212
pull_request:
1313
branches:
1414
- master
15-
- '*.x'
15+
- "*.x"
1616
paths-ignore:
17-
- '**.md'
17+
- "**.md"
1818

1919
jobs:
2020
package:
2121
name: Package
22-
uses: sketch7/.github/.github/workflows/dotnet-package.yml@master
22+
uses: sketch7/.github/.github/workflows/dotnet-package.yml@dotnet-libs-v1
2323
with:
2424
dotnet-version: 8.0.x
2525
publishable: ${{ contains(fromJSON('["develop", "master", "workflow", "feature/workflow"]'), github.ref_name) || endsWith(github.ref_name, '.x') }}

Directory.Build.props

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<Nullable>enable</Nullable>
3636
<ImplicitUsings>enable</ImplicitUsings>
3737
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
38+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
3839
</PropertyGroup>
3940

4041
<PropertyGroup>

0 commit comments

Comments
 (0)