-
-
Notifications
You must be signed in to change notification settings - Fork 855
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'LoadExtensions' of https://github.com/pekspro/ImageSharp …
…into LoadExtensions
- Loading branch information
Showing
10 changed files
with
49 additions
and
59 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 |
---|---|---|
|
@@ -52,31 +52,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/gitversion/[email protected] | ||
with: | ||
versionSpec: "5.3.x" | ||
|
||
- name: Use GitVersion | ||
id: gitversion # step id used as reference for output values | ||
uses: gittools/actions/gitversion/[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}}" "${{matrix.options.framework}}" | ||
run: ./ci-build.ps1 "${{matrix.options.framework}}" | ||
|
||
- name: Test | ||
shell: pwsh | ||
|
@@ -112,33 +95,18 @@ 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/gitversion/[email protected] | ||
with: | ||
versionSpec: "5.3.x" | ||
|
||
- name: Use GitVersion | ||
id: gitversion # step id used as reference for output values | ||
uses: gittools/actions/gitversion/[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 | ||
run: nuget.exe push .\artifacts\*.nupkg ${{secrets.MYGET_TOKEN}} -Source https://www.myget.org/F/sixlabors/api/v2/package | ||
run: | | ||
nuget.exe push .\artifacts\*.nupkg ${{secrets.MYGET_TOKEN}} -Source https://www.myget.org/F/sixlabors/api/v2/package | ||
nuget.exe push .\artifacts\*.snupkg ${{secrets.MYGET_TOKEN}} -Source https://www.myget.org/F/sixlabors/api/v3/index.json | ||
# TODO: If github.ref starts with 'refs/tags' then it was tag push and we can optionally push out package to nuget.org |
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
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