Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Merge pull request #24 from PandaTechAM/development #162

Merge pull request #24 from PandaTechAM/development

Merge pull request #24 from PandaTechAM/development #162

Workflow file for this run

name: Deploy NuGet Package
env:
PROJECT_PATH: './src/EFCoreQueryMagic/EFCoreQueryMagic.csproj'
OUTPUT_DIR: 'nupkgs'
NUGET_SOURCE: 'https://api.nuget.org/v3/index.json'
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Build
run: dotnet build ${{ env.PROJECT_PATH }}
- name: Pack
run: dotnet pack ${{ env.PROJECT_PATH }} --output ${{ env.OUTPUT_DIR }}
- name: Publish
run: dotnet nuget push ${{ env.OUTPUT_DIR }}/*.nupkg -k ${{ env.NUGET_API_KEY }} -s ${{ env.NUGET_SOURCE }}