Skip to content

Commit 40738f8

Browse files
committed
added SQLite Support
1 parent 1f2b97f commit 40738f8

8 files changed

Lines changed: 883 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build Check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build_check:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout Main Repository
14+
uses: actions/checkout@v2
15+
with:
16+
repository: 'DbSyncKit/DbSyncKit'
17+
submodules: true
18+
19+
- name: Pull & update submodules recursively
20+
run: |
21+
git submodule update --init --recursive
22+
git submodule update --recursive --remote
23+
24+
- name: Setup .NET Core
25+
uses: actions/setup-dotnet@v2
26+
with:
27+
dotnet-version: '8.0.x'
28+
29+
- name: Build DbSyncKit
30+
run: |
31+
cd DbSyncKit.SQLite/src
32+
dotnet build -c Release
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build and Publish NuGet Package
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
build_and_publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout Main Repository
14+
uses: actions/checkout@v2
15+
with:
16+
repository: 'DbSyncKit/DbSyncKit'
17+
18+
- name: Pull & update submodules recursively
19+
run: |
20+
git submodule update --init --recursive
21+
git submodule update --recursive --remote
22+
23+
- name: Setup .NET Core
24+
uses: actions/setup-dotnet@v2
25+
with:
26+
dotnet-version: '8.0.x'
27+
28+
- name: Build and PublishDbSyncKit.SQLite
29+
run: |
30+
cd DbSyncKit.SQLite/src
31+
dotnet build -c Release
32+
dotnet pack -c Release
33+
dotnet nuget push bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_DEPLOY }}
34+

0 commit comments

Comments
 (0)