Skip to content

Commit d82f89d

Browse files
authoredOct 17, 2024··
feat: Make builds deterministic and set latest GH actions (#889)
1 parent 3b92c5e commit d82f89d

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed
 

‎.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
steps:
1616
- name: checkout repo
17-
uses: actions/checkout@v3
18-
# - uses: actions/setup-dotnet@v3
17+
uses: actions/checkout@v4
18+
# - uses: actions/setup-dotnet@v4
1919
# with:
2020
# dotnet-version: '8.0.x'
2121
- name: build

‎.github/workflows/nuget-push-public.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
build-test-prep-deploy:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010
- name: Create the package
11-
run: dotnet test -c Release && dotnet pack --no-build -c Release --output nupkgs
11+
run: dotnet test -c Release -p:ContinuousIntegrationBuild=true && dotnet pack --no-build -c Release --output nupkgs
1212
- name: Publish the package to NuGet.org
1313
env:
1414
NUGET_KEY: ${{secrets.NUGET_KEY}}

‎.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ jobs:
66
build-test-prep-release:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
10-
- uses: actions/setup-node@v3
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
1111
with:
1212
node-version: 20
1313
- name: build and test
1414
run: |
1515
dotnet restore
16-
dotnet build -c Release --no-restore
16+
dotnet build -c Release --no-restore -p:ContinuousIntegrationBuild=true
1717
dotnet test -c Release --no-build
1818
- name: setup semantic-release
1919
run: |

‎src/Directory.Build.props

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<PackageProjectUrl>https://www.finbuckle.com/MultiTenant</PackageProjectUrl>
99
<RepositoryUrl>https://github.com/Finbuckle/Finbuckle.MultiTenant</RepositoryUrl>
1010
<PublishRepositoryUrl>true</PublishRepositoryUrl>
11+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1112
<IncludeSymbols>true</IncludeSymbols>
1213
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1314
<PackageTags>finbuckle;multitenant;multitenancy;aspnet;aspnetcore;entityframework;entityframework-core;efcore</PackageTags>

0 commit comments

Comments
 (0)
Please sign in to comment.