-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
10 changed files
with
47 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,31 +32,14 @@ jobs: | |
git fetch --prune --unshallow | ||
git submodule -q update --init --recursive | ||
- name: Fetch Tags for GitVersion | ||
run: | | ||
git fetch --tags | ||
- name: Fetch master for GitVersion | ||
if: github.ref != 'refs/heads/master' | ||
run: git branch --create-reflog master origin/master | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/[email protected] | ||
with: | ||
versionSpec: "5.1.x" | ||
|
||
- name: Use GitVersion | ||
id: gitversion # step id used as reference for output values | ||
uses: gittools/actions/[email protected] | ||
|
||
- name: Setup DotNet SDK | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: "3.1.101" | ||
dotnet-version: "3.1.x" | ||
|
||
- name: Pack | ||
shell: pwsh | ||
run: ./ci-pack.ps1 "${{steps.gitversion.outputs.nuGetVersion}}" | ||
run: ./ci-pack.ps1 | ||
|
||
- name: Publish to MyGet | ||
shell: pwsh | ||
|
@@ -104,31 +87,14 @@ jobs: | |
git fetch --prune --unshallow | ||
git submodule -q update --init --recursive | ||
- name: Fetch Tags for GitVersion | ||
run: | | ||
git fetch --tags | ||
- name: Fetch master for GitVersion | ||
if: github.ref != 'refs/heads/master' | ||
run: git branch --create-reflog master origin/master | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/[email protected] | ||
with: | ||
versionSpec: "5.1.x" | ||
|
||
- name: Use GitVersion | ||
id: gitversion # step id used as reference for output values | ||
uses: gittools/actions/[email protected] | ||
|
||
- name: Setup DotNet SDK | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: "3.1.101" | ||
dotnet-version: "3.1.x" | ||
|
||
- name: Build | ||
shell: pwsh | ||
run: ./ci-build.ps1 "${{steps.gitversion.outputs.nuGetVersion}}" | ||
run: ./ci-build.ps1 | ||
|
||
- name: Test | ||
shell: pwsh | ||
|
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,6 @@ | ||
param( | ||
[Parameter(Mandatory, Position = 0)] | ||
[string]$version | ||
) | ||
|
||
dotnet clean -c Release | ||
|
||
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY" | ||
|
||
# Building for packing and publishing. | ||
dotnet build -c Release /p:packageversion=$version /p:RepositoryUrl=$repositoryUrl | ||
dotnet build -c Release /p:RepositoryUrl=$repositoryUrl |
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 |
---|---|---|
@@ -1,11 +1,6 @@ | ||
param( | ||
[Parameter(Mandatory, Position = 0)] | ||
[string]$version | ||
) | ||
|
||
dotnet clean -c Release | ||
|
||
$repositoryUrl = "https://github.com/$env:GITHUB_REPOSITORY" | ||
|
||
# Building for packing and publishing. | ||
dotnet pack -c Release --output "$PSScriptRoot/artifacts" /p:packageversion=$version /p:RepositoryUrl=$repositoryUrl | ||
dotnet pack -c Release --output "$PSScriptRoot/artifacts" /p:RepositoryUrl=$repositoryUrl |
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