Skip to content

Commit

Permalink
chore(ci): enable nuget caching + add package.lock (#87)
Browse files Browse the repository at this point in the history
* change ci

* ci test

* add lockfiles

* ci test

* up ci

* cleanup

* publishable
  • Loading branch information
stephenlautier authored Aug 16, 2024
1 parent a935d56 commit 60459c9
Show file tree
Hide file tree
Showing 8 changed files with 5,910 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dotnet-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ on:
push:
branches:
- master
- '*.x'
- "*.x"
# - feature/*
paths-ignore:
- '**.md'
- "**.md"

pull_request:
branches:
- master
- '*.x'
- "*.x"
paths-ignore:
- '**.md'
- "**.md"

jobs:
package:
name: Package
uses: sketch7/.github/.github/workflows/dotnet-package.yml@master
uses: sketch7/.github/.github/workflows/dotnet-package.yml@dotnet-libs-v1
with:
dotnet-version: 8.0.x
publishable: ${{ contains(fromJSON('["develop", "master", "workflow", "feature/workflow"]'), github.ref_name) || endsWith(github.ref_name, '.x') }}
Expand Down
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>

<PropertyGroup>
Expand Down
Loading

0 comments on commit 60459c9

Please sign in to comment.