-
Notifications
You must be signed in to change notification settings - Fork 30
43 lines (42 loc) · 1.45 KB
/
ci-all.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This GitHub Action bumps up the <Version /> tag in the csproj file depending on the commit's comment:
# SemVer format is: MAJOR.MINOR.PATCH-PRERELEASE
# If the commit's comment contains the string [MAJOR], [MINOR] or [PATCH] it bumps it accordingly.
# If no matching bump commment is found, the PRERELEASE component gets bumped.
# Finally, it builds the project in .net 5 and .net 6, and publishes it to the local GitHub package registry.
# by @geoperez and @mariodivece
name: Pack and Publish SWAN Libraries
on:
push:
branches: [ master ]
jobs:
swan-core:
uses: unosquare/swan/.github/workflows/lib-ci.yml@master
with:
source-path: 'src/'
project-name: 'Swan.Core'
secrets:
github-token: ${{ secrets.MAD_PACKAGE_MGMNT }}
swan-logging:
needs: swan-core
uses: unosquare/swan/.github/workflows/lib-ci.yml@master
with:
source-path: 'src/'
project-name: 'Swan.Logging'
secrets:
github-token: ${{ secrets.MAD_PACKAGE_MGMNT }}
swan-data:
needs: swan-logging
uses: unosquare/swan/.github/workflows/lib-ci.yml@master
with:
source-path: 'src/'
project-name: 'Swan.Data'
secrets:
github-token: ${{ secrets.MAD_PACKAGE_MGMNT }}
swan-data-sqlbulkops:
needs: swan-data
uses: unosquare/swan/.github/workflows/lib-ci.yml@master
with:
source-path: 'src/'
project-name: 'Swan.Data.SqlBulkOps'
secrets:
github-token: ${{ secrets.MAD_PACKAGE_MGMNT }}