Skip to content

Commit b12f173

Browse files
committed
Test
1 parent 81922be commit b12f173

14 files changed

+766
-0
lines changed

.github/workflows/test.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
7+
jobs:
8+
test-non-main-repo:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Setup .NET
14+
uses: actions/setup-dotnet@v4
15+
with:
16+
dotnet-version: 8.0.x
17+
- name: GitHub Pages Blazor WASM
18+
uses: ./
19+
with:
20+
project-path: Test/Test.csproj
21+
main-repo: false
22+
- name: Verify
23+
run: Test/Verify.sh --non-main-repo ${{ github.event.repository.name }}
24+
25+
test-main-repo:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
- name: Setup .NET
31+
uses: actions/setup-dotnet@v4
32+
with:
33+
dotnet-version: 8.0.x
34+
- name: GitHub Pages Blazor WASM
35+
uses: ./
36+
with:
37+
project-path: Test/Test.csproj
38+
main-repo: true
39+
- name: Verify
40+
run: Test/Verify.sh --main-repo ${{ github.event.repository.name }}

0 commit comments

Comments
 (0)