Skip to content

Merge pull request #101 from mdsol/develop #10

Merge pull request #101 from mdsol/develop

Merge pull request #101 from mdsol/develop #10

Workflow file for this run

name: Build, Test and Publish
on:
push:
tags:
- 'release/*'
jobs:
Publish:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Build the packages
run: dotnet build --configuration Release /p:PackageOutputPath=$GITHUB_WORKSPACE/artifacts
- name: Publish the packages
run: dotnet nuget push "$GITHUB_WORKSPACE/artifacts/*.nupkg" --source $ARTIFACTORY_PUSH_TARGET --api-key $API_KEY
env:
API_KEY: ${{ format('{0}:{1}', secrets.ARTIFACTORY_ACCOUNT_NAME, secrets.ARTIFACTORY_PROD_ACCESS_TOKEN) }}
ARTIFACTORY_PUSH_TARGET: https://mdsol.jfrog.io/artifactory/api/nuget/PlatformLibraries-nuget-prod-local/mauth-client-dotnet