Skip to content

Commit 7e7c310

Browse files
authored
Create build-samples.yml (#279)
* Create build-samples.yml
1 parent e406a11 commit 7e7c310

File tree

123 files changed

+37899
-14435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+37899
-14435
lines changed

.github/workflows/build-samples.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: build samples
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build-aspnetcore-samples:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: 8.0.x
19+
- name: Build netcore projects
20+
run: |
21+
pushd samples
22+
dotnet build
23+
popd
24+
25+
build-aspnet-samples:
26+
runs-on: windows-latest
27+
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: Install .NET Framework 4.6.1 Developer Pack
31+
run: choco install netfx-4.6.1-devpack -y
32+
- name: Setup MSBuild.exe
33+
uses: microsoft/setup-msbuild@v2
34+
- name: Build aspnet projects
35+
run: |
36+
pushd aspnet-samples
37+
nuget restore
38+
msbuild aspnet-samples.sln
39+
popd

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ More advanced samples are listed as below:
2828
* [Flight Map: Realtime Monitoring Dashboard using Azure SignalR Service](samples/FlightMap)
2929

3030
***Archived*** Chat Room Example under AspNetCore 2.1 version:
31-
* [Chat Room Example under AspNetCore 2.1.0](samples/ChatRoom.NetCore21/ChatRoom/README.md)
31+
* [Chat Room Example under AspNetCore 2.1.0](https://github.com/aspnet/AzureSignalR-samples/tree/archived/netcore21/samples/ChatRoom.NetCore21/ChatRoom/README.md)
3232

3333
## ASP.NET SignalR samples
3434

aspnet-samples/AdvancedChatRoom/AdvancedChatRoom.csproj

+421
Large diffs are not rendered by default.

aspnet-samples/AdvancedChatRoom/AdvancedChatRoom.sln

-25
This file was deleted.

aspnet-samples/AdvancedChatRoom/ChatSample.AspNet.csproj

-274
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.

aspnet-samples/AdvancedChatRoom/Scripts/jquery-1.6.4.min.js

-4
This file was deleted.

0 commit comments

Comments
 (0)