Reference cybersource auth porject directly instead of using nuget pa… #7
Workflow file for this run
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
name: CyberSource REST Client Publish | |
on: | |
push: | |
tags: | |
- 'client-*' | |
jobs: | |
build: | |
runs-on: windows-2022 | |
name: build and publish | |
steps: | |
- name: Support longpaths | |
run: git config --system core.longpaths true | |
- uses: actions/checkout@v2 | |
- name: Add nuget package source | |
run: dotnet nuget add source --username sipsorcery --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github-nofrixion "https://nuget.pkg.github.com/nofrixion/index.json" | |
- name: Install dependencies | |
run: dotnet restore cybersource-rest-client-netstandard\cybersource-rest-client-netstandard.sln | |
- name: Build | |
run: dotnet build cybersource-rest-client-netstandard\cybersource-rest-client-netstandard.sln -c Release --no-restore | |
- name: Publish | |
run: dotnet nuget push **\*.nupkg --source https://nuget.pkg.github.com/nofrixion/index.json --api-key ${{ secrets.GITHUB_TOKEN }} |