Skip to content

Commit

Permalink
pipeline updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pksorensen committed Nov 12, 2024
1 parent b30eb35 commit 23173c5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
name: Testing
strategy:
matrix:
dotnet: [ 'netcoreapp3.1', 'net6.0', 'net7.0', 'net462', 'net48' ]
dotnet: [ 'net8.0', 'net9.0', 'net462', 'net48' ]
steps:
- name: Checkout code base
uses: actions/checkout@v2

- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
dotnet-version: '9.0.x'

- name: Run tests
run: dotnet test --verbosity normal -f ${{ matrix.dotnet }}
Expand All @@ -30,14 +30,14 @@ jobs:
name: Building
strategy:
matrix:
dotnet: [ 'netcoreapp3.1', 'net6.0', 'net7.0', 'net462', 'net48' ]
dotnet: [ 'net8.0', 'net9.0', 'net462', 'net48' ]
steps:
- name: Checkout code base
uses: actions/checkout@v2

- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
dotnet-version: '9.0.x'

- name: Cleaning
run: dotnet clean
Expand All @@ -59,34 +59,34 @@ jobs:
name: Generate docs and publish artifacts
needs: ['build']
steps:
- name: Get cache - net6.0
- name: Get cache - net8.0
uses: actions/cache@v2
with:
path: build/net6.0
key: ${{ runner.os }}-build-net6.0
path: build/net8.0
key: ${{ runner.os }}-build-net8.0

- name: Get cache - net7.0
- name: Get cache - net9.0
uses: actions/cache@v2
with:
path: build/net7.0
key: ${{ runner.os }}-build-net7.0
path: build/net9.0
key: ${{ runner.os }}-build-net9.0

- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
dotnet-version: '9.0.x'

- name: Install Xml to Markdown tool
run: dotnet new tool-manifest && dotnet tool install EAVFW.Extensions.Docs.TransformToMarkdown

- name: Generate docs
run: dotnet tool run tomd --input build/net7.0/ExpressionEngine.xml --output Documentation.md
run: dotnet tool run tomd --input build/net9.0/ExpressionEngine.xml --output Documentation.md

- name: Archive build to artifacts
uses: actions/[email protected]
with:
name: Build
path: |
build/net6.0/
build/net7.0/
build/net8.0/
build/net9.0/
Documentation.md
retention-days: 5
4 changes: 2 additions & 2 deletions .github/workflows/todo.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Create issues from todo"
name: "Create issues from todo"

on:
push:
Expand All @@ -14,7 +14,7 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v2.4"
uses: "alstr/todo-to-issue-action"
id: "todo"
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 23173c5

Please sign in to comment.