Bump actions/cache from 3 to 4 #219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |