Bump SixLabors.ImageSharp from 1.0.0-beta0007 to 2.1.8 in /Src/Vultaik #234
Workflow file for this run
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
name: ci | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'readme.md' | |
pull_request: | |
jobs: | |
CheckSkipCI: | |
runs-on: ubuntu-latest | |
if: | | |
!contains(github.event.head_commit.message, '[skip ci]') && | |
!contains(github.event.pull_request.title, '[skip ci]') && | |
!contains(github.event.head_commit.message, '[skip-ci]') && | |
!contains(github.event.pull_request.title, '[skip-ci]') | |
steps: | |
- run: exit 0 | |
build: | |
runs-on: windows-latest | |
needs: [CheckSkipCI] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
- name: Install .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.x | |
- name: Version | |
uses: aarnott/[email protected] | |
with: | |
setAllVars: true | |
- name: Pack | |
run: dotnet pack src --configuration Release --output build/packages | |
- name: Publish to NuGet | |
if: github.event_name == 'push' | |
run: | | |
if ( "${{github.ref}}" -match "^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$" ) { | |
dotnet nuget push build\packages\**\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_TOKEN}} | |
} else { | |
echo "publish is only enabled by tagging with a release tag" | |
} |