Skip to content

Commit

Permalink
Move template testing to a manually triggered GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
jwosty committed May 31, 2022
1 parent a914fc8 commit a745e3d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
- name: Test
run: |
dotnet fake build -t Test -- Release
dotnet fake build -t BuildTemplateProjects -- Release
build-macos:
name: CI (macOS)
Expand Down Expand Up @@ -60,4 +59,3 @@ jobs:
- name: Test
run: |
dotnet fake build -t Test -- Release
dotnet fake build -t BuildTemplateProjects -- Release
42 changes: 42 additions & 0 deletions .github/workflows/test-templates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test Templates

on: workflow_dispatch

jobs:
build-windows:
name: Test Templates (Windows)
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.300'
- name: Restore
run: |
dotnet tool restore
dotnet paket restore
- name: Test templates
run: |
dotnet fake build -t BuildTemplateProjects -- Release
build-macos:
name: Test Templates (macOS)
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.300'
- name: Install workloads
run: |
dotnet tool restore
sudo dotnet workload install macos
- name: Restore
run: |
dotnet tool restore
dotnet paket restore
- name: Test templates
run: |
dotnet fake build -t BuildTemplateProjects -- Release

0 comments on commit a745e3d

Please sign in to comment.