Bump SixLabors.ImageSharp from 2.1.3 to 2.1.8 #144
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: engenious Build | |
on: | |
workflow_dispatch: | |
inputs: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
build: | |
env: | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET 7 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.x | |
- name: Build | |
run: dotnet build --configuration Release | |
- name: Run tests | |
run: dotnet test --configuration Release | |
- name: Create Nuget Package | |
run: dotnet pack -c Release -o ./artifacts | |
- name: Deploy Nuget Package | |
run: dotnet nuget push ./artifacts/*.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json | |
shell: bash | |
if: matrix.os == 'windows-latest' && github.event_name == 'push' |