-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replacing PS-Script and Switch to Ubuntu
Seperate Integration and Unit Tests Build and Pack Step with versioning Documentation-step with action Deleting PowerShell-dependencies
- Loading branch information
1 parent
1a82246
commit c72dcc0
Showing
12 changed files
with
193 additions
and
979 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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 |
---|---|---|
|
@@ -3,43 +3,28 @@ name: Documentation | |
on: | ||
workflow_call: | ||
inputs: | ||
dotnet_sdk_version: | ||
required: true | ||
type: string | ||
REPOSITORY_NAME: | ||
required: true | ||
type: string | ||
MORYX_OPTIMIZE_CODE: | ||
required: false | ||
type: string | ||
MORYX_BUILD_CONFIG: | ||
required: false | ||
type: string | ||
MORYX_BUILDNUMBER: | ||
required: false | ||
type: string | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: | ||
required: false | ||
type: boolean | ||
|
||
jobs: | ||
Documentation: | ||
runs-on: windows-latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Generate docFx | ||
shell: pwsh | ||
env: | ||
MORYX_BUILDNUMBER: ${{inputs.MORYX_BUILDNUMBER}} | ||
MORYX_OPTIMIZE_CODE: ${{inputs.MORYX_OPTIMIZE_CODE}} | ||
MORYX_BUILD_CONFIG: ${{inputs.MORYX_BUILD_CONFIG}} | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: ${{inputs.DOTNET_SKIP_FIRST_TIME_EXPERIENCE}} | ||
run: ./Build.ps1 -GenerateDocs | ||
- uses: nuget/setup-nuget@v1 | ||
with: | ||
nuget-version: latest | ||
|
||
- name: Build Documentation | ||
uses: nunit/[email protected] | ||
with: | ||
args: docs/docfx.json | ||
|
||
- name: Upload documentation results | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: documentation | ||
path: artifacts/Documentation/ | ||
name: ${{inputs.REPOSITORY_NAME}}-documentation | ||
path: docs/_site | ||
retention-days: 2 |
Oops, something went wrong.