File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CyberSource REST Client Publish
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' client-*'
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : windows-2022
11
+ name : build and publish
12
+ steps :
13
+ - name : Support longpaths
14
+ run : git config --system core.longpaths true
15
+ - uses : actions/checkout@v2
16
+ - name : Add nuget package source
17
+ 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"
18
+ - name : Install dependencies
19
+ run : dotnet restore cybersource-rest-client-netstandard\cybersource-rest-client-netstandard.sln
20
+ - name : Build
21
+ run : dotnet build cybersource-rest-client-netstandard\cybersource-rest-client-netstandard.sln -c Release --no-restore
22
+ - name : Publish
23
+ run : dotnet nuget push **\*.nupkg --source https://nuget.pkg.github.com/nofrixion/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments