Skip to content

Commit f7ca34d

Browse files
committed
Merge remote-tracking branch 'origin/main' into main
2 parents 26e3120 + 372bc13 commit f7ca34d

3 files changed

Lines changed: 6 additions & 15 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,8 @@ jobs:
1616
- name: Setup dotnet
1717
uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: '8.*'
19+
dotnet-version: '8.0'
2020

2121
- name: build
2222
run: dotnet build
23-
working-directory: .
24-
25-
- name: test
26-
run: |
27-
dotnet test
28-
if [ $? -eq 0 ]; then
29-
echo TESTS PASSED
30-
else
31-
echo TESTS FAILED
32-
exit 1
33-
fi
34-
working-directory: ./MyApp.Tests
35-
23+
working-directory: ./MyApp

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ jobs:
6060
- name: Setup dotnet
6161
uses: actions/setup-dotnet@v3
6262
with:
63-
dotnet-version: '8.*'
63+
dotnet-version: '8.0'
6464

6565
# Build and push new docker image, skip for manual redeploy other than 'latest'
6666
- name: Build and push Docker image
67+
working-directory: ./MyApp
6768
run: |
6869
dotnet publish --os linux --arch x64 -c Release -p:ContainerRepository=${{ env.image_repository_name }} -p:ContainerRegistry=ghcr.io -p:ContainerImageTags=${{ env.TAG_NAME }} -p:ContainerPort=80
6970

MyApp/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
using MyApp.Identity;
1010
using MyApp.Components;
1111

12+
ServiceStack.Licensing.RegisterLicense("OSS MIT 2023 https://github.com/NetCoreApps/BlazorGallery Gj64/BYUNNVLCOjQeagNfHeCC88VX92bVhcM7lwnLj9CRA6hUtBTFL2TYACuEVk+z9WqWIYDDUndA+aJqU1rqoe0OWSEtVuppRH2GzKnDcYcDi3PabbEhyzZ/x8i5J7Z1Gx+JzZLsc6Ctr/svN5hZXPHShcUFL6bhN7nVitwXdU=");
13+
1214
var builder = WebApplication.CreateBuilder(args);
1315

1416
var services = builder.Services;

0 commit comments

Comments
 (0)