Skip to content

Merge pull request #294 from unosquare/mariodivece-patch-1 #214

Merge pull request #294 from unosquare/mariodivece-patch-1

Merge pull request #294 from unosquare/mariodivece-patch-1 #214

Workflow file for this run

# 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 }}