Skip to content

Adding README

Adding README #11

Workflow file for this run

name: Release
on:
release:
types: [published, edited]
jobs:
package:
runs-on: ubuntu-latest
environment: nuget
env:
PACKAGE_VERSION: ${{ github.event.release.tag_name }}
steps:
- uses: actions/checkout@v3
- name: Set up .Net
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Package MySqlConnector
working-directory: ./Batec.Azure.Data.Extensions.MySqlConnector/src
run: dotnet pack -c Release -p:PackageVersion=${{ env.PACKAGE_VERSION }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output ../../package
- name: Package Npgsql
working-directory: ./Batec.Azure.Data.Extensions.Npgsql/src
run: dotnet pack -c Release -p:PackageVersion=${{ env.PACKAGE_VERSION }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output ../../package
- name: Package Pomelo.EntityFrameworkCore
working-directory: ./Batec.Azure.Data.Extensions.Pomelo.EntityFrameworkCore/src
run: |
dotnet restore -s ../../package -s https://api.nuget.org/v3/index.json
dotnet pack --no-restore -c Release -p:PackageVersion=${{ env.PACKAGE_VERSION }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output ../../package
- name: Package Npgsql.EntityFrameworkCore
working-directory: ./Batec.Azure.Data.Extensions.Npgsql.EntityFrameworkCore/src
run: |
dotnet restore -s ../../package -s https://api.nuget.org/v3/index.json
dotnet pack --no-restore -c Release -p:PackageVersion=${{ env.PACKAGE_VERSION }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --output ../../package
- name: Publish MySqlConnector
working-directory: ./package
run: dotnet nuget push --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json ./Batec.Azure.Data.Extensions.MySqlConnector.${{ env.PACKAGE_VERSION }}.nupkg
- name: Publish Npgsql
working-directory: ./package
run: dotnet nuget push --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json ./Batec.Azure.Data.Extensions.Npgsql.${{ env.PACKAGE_VERSION }}.nupkg
- name: Publish Pomelo.EntityFrameworkCore
working-directory: ./package
run: dotnet nuget push --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json ./Batec.Azure.Data.Extensions.Pomelo.EntityFrameworkCore.${{ env.PACKAGE_VERSION }}.nupkg
- name: Publish Npgsql.EntityFrameworkCore
working-directory: ./package
run: dotnet nuget push --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json ./Batec.Azure.Data.Extensions.Npgsql.EntityFrameworkCore.${{ env.PACKAGE_VERSION }}.nupkg