Skip to content

Commit 060a260

Browse files
authored
Revert "Feature: Convert wyam to statiq (#790) (#792)" (#793)
This reverts commit 3d62e6b.
1 parent 3d62e6b commit 060a260

File tree

1,059 files changed

+136089
-2813
lines changed

Some content is hidden

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

1,059 files changed

+136089
-2813
lines changed

.editorconfig

+2-442
Large diffs are not rendered by default.

.github/workflows/main.yml

+26-50
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,46 @@
1-
name: Build
1+
# This is a basic workflow to help you get started with Actions
22

3+
name: Build website
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the main branch
37
on:
48
push:
59
branches: [ main ]
610
pull_request:
711
branches: [ main ]
812

13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
914
jobs:
15+
# This workflow contains a single job called "build"
1016
build:
17+
# The type of runner that the job will run on
1118
runs-on: windows-latest
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
1221
steps:
13-
- name: Get Current Visual Studio Information
14-
shell: bash
15-
run: |
16-
dotnet tool update -g dotnet-vs
17-
echo "## About RELEASE ##"
18-
vs where release
19-
20-
- name: Checkout
21-
uses: actions/checkout@v3
22-
with:
23-
fetch-depth: 0
24-
lfs: true
25-
26-
- name: Install .NET 6
22+
- name: Setup dotnet
2723
uses: actions/setup-dotnet@v3
2824
with:
29-
dotnet-version: 6.0.x
30-
31-
- name: Install .NET 7
32-
uses: actions/setup-dotnet@v3
33-
with:
34-
dotnet-version: 7.0.x
35-
36-
- name: Install DotNet workloads
37-
shell: bash
38-
run: |
39-
dotnet workload install android ios tvos macos maui maccatalyst
40-
41-
- name: Add MSBuild to PATH
42-
uses: microsoft/[email protected]
43-
with:
44-
vs-prerelease: true
45-
46-
- name: Install NuGet
47-
uses: nuget/setup-nuget@v1
48-
with:
49-
nuget-version: '6.x'
50-
51-
- name: NuGet Restore
52-
run: nuget restore
53-
54-
- name: Build DotNet
55-
run: dotnet build --no-restore --configuration Release
56-
57-
- name: Run DotNet
58-
run: dotnet run --no-restore --no-build --configuration Release
59-
60-
- name: Install Node.js
61-
if: ${{ github.event_name != 'pull_request' }}
25+
dotnet-version: |
26+
2.1.x
27+
3.1.x
28+
5.0.x
29+
6.0.x
30+
7.0.x
31+
- name: Use Node.js
6232
uses: actions/setup-node@v3
6333
with:
6434
node-version: '16.x'
65-
35+
- name: Checkout
36+
uses: actions/checkout@v3
37+
- name: Build Website
38+
uses: cake-build/cake-action@v1
39+
with:
40+
verbosity: Diagnostic
41+
cake-bootstrap: true
6642
- name: Deploy netlify
6743
if: ${{ github.event_name != 'pull_request' }}
6844
run: |
6945
npm install -g netlify-cli
70-
netlify deploy --auth=${{ secrets.NETLIFY_DEPLOY_KEY }} --site=${{ secrets.NETLIFY_SITE_ID }} --prod --dir=output
46+
netlify deploy --auth=${{ secrets.NETLIFY_DEPLOY_KEY }} --site=${{ secrets.NETLIFY_SITE_ID }} --prod --dir=output

0 commit comments

Comments
 (0)