Skip to content

Commit

Permalink
feat: Make builds deterministic and set latest GH actions (#889)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma authored Oct 17, 2024
1 parent 3b92c5e commit d82f89d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: checkout repo
uses: actions/checkout@v3
# - uses: actions/setup-dotnet@v3
uses: actions/checkout@v4
# - uses: actions/setup-dotnet@v4
# with:
# dotnet-version: '8.0.x'
- name: build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nuget-push-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
build-test-prep-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Create the package
run: dotnet test -c Release && dotnet pack --no-build -c Release --output nupkgs
run: dotnet test -c Release -p:ContinuousIntegrationBuild=true && dotnet pack --no-build -c Release --output nupkgs
- name: Publish the package to NuGet.org
env:
NUGET_KEY: ${{secrets.NUGET_KEY}}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
build-test-prep-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: build and test
run: |
dotnet restore
dotnet build -c Release --no-restore
dotnet build -c Release --no-restore -p:ContinuousIntegrationBuild=true
dotnet test -c Release --no-build
- name: setup semantic-release
run: |
Expand Down
1 change: 1 addition & 0 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<PackageProjectUrl>https://www.finbuckle.com/MultiTenant</PackageProjectUrl>
<RepositoryUrl>https://github.com/Finbuckle/Finbuckle.MultiTenant</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageTags>finbuckle;multitenant;multitenancy;aspnet;aspnetcore;entityframework;entityframework-core;efcore</PackageTags>
Expand Down

0 comments on commit d82f89d

Please sign in to comment.