-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
444 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
TODO: description of the PR work. | ||
|
||
This PR closes # | ||
|
||
## Quality check list | ||
|
||
- [ ] Related code has been tested automatically or manually | ||
- [ ] Related documentation is updated | ||
- [ ] I acknowledge I have read and filled this checklist and accept the | ||
[developer certificate of origin](https://developercertificate.org/) | ||
|
||
## Acceptance criteria | ||
|
||
TODO: list of expectations it has passed from the related issue. | ||
|
||
## Follow-up work | ||
|
||
TODO: describe any missing or future required work. | ||
|
||
## Example | ||
|
||
TODO: small code-snippet or screenshot of the work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: "Build" | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
dotnet_version: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, macos-latest, windows-latest ] | ||
include: | ||
# By default they are no "main build" but if it matches "os" then yes. | ||
- os: ubuntu-latest | ||
is_main_build: true | ||
name: "${{ matrix.os }}" | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # We need full history for version number | ||
|
||
- name: "Setup .NET SDK" | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: ${{ inputs.dotnet_version }} | ||
|
||
- name: "Build and test" | ||
run: dotnet run --project build/orchestrator -- --target=Default --dotnet-configuration=Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "Bundle" | ||
if: ${{ matrix.is_main_build }} | ||
run: dotnet run --project build/orchestrator -- --target=Bundle --dotnet-configuration=Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "Publish artifacts to CI" | ||
if: ${{ matrix.is_main_build }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: "Artifacts" | ||
retention-days: 7 | ||
path: | | ||
build/artifacts/ | ||
!build/artifacts/docs | ||
- name: Publish docs artifact to CI | ||
if: ${{ matrix.is_main_build }} | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: build/artifacts/docs |
Oops, something went wrong.