Skip to content

Commit

Permalink
added SQLite Support
Browse files Browse the repository at this point in the history
  • Loading branch information
RohitM-IN committed Apr 25, 2024
1 parent 5201ec8 commit 5932696
Show file tree
Hide file tree
Showing 7 changed files with 639 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build Check

on:
push:
branches:
- main

jobs:
build_check:
runs-on: ubuntu-latest

steps:
- name: Checkout Main Repository
uses: actions/checkout@v2
with:
repository: 'DbSyncKit/DbSyncKit'
submodules: true

- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'

- name: Build DbSyncKit
run: |
cd DbSyncKit.Templates.SQLite/src
dotnet build -c Release
34 changes: 34 additions & 0 deletions .github/workflows/nuget_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and Publish NuGet Package

on:
release:
types:
- created

jobs:
build_and_publish:
runs-on: ubuntu-latest

steps:
- name: Checkout Main Repository
uses: actions/checkout@v2
with:
repository: 'DbSyncKit/DbSyncKit'

- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'

- name: Build and Publish DbSyncKit.Templates.SQLite
run: |
cd DbSyncKit.Templates.SQLite/src
dotnet build -c Release
dotnet pack -c Release
dotnet nuget push bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_DEPLOY }}
Loading

0 comments on commit 5932696

Please sign in to comment.