File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1212
1313 runs-on : ubuntu-latest
1414 env :
15- FEEDZ_LITTLEFORKER_API_KEY : ' {{secrets.FEEDZ_LITTLEFORKER_API_KEY}}'
15+ FEEDZ_LITTLEFORKER_API_KEY : $ {{secrets.FEEDZ_LITTLEFORKER_API_KEY}}
1616 steps :
1717 - name : Checkout
1818 uses : actions/checkout@v1
Original file line number Diff line number Diff line change @@ -42,17 +42,13 @@ static void Main(string[] args)
4242
4343 Target ( Build , ( ) => Run ( "dotnet" , "build LittleForker.sln -c Release" ) ) ;
4444
45- Target (
46- Test ,
45+ Target ( Test ,
4746 DependsOn ( Build ) ,
48- ForEach ( "LittleForker.Tests" ) ,
49- project => Run ( "dotnet" , $ "test src/{ project } /{ project } .csproj -c Release -r { ArtifactsDir } --no-build -l trx;LogFileName={ project } .xml --verbosity=normal") ) ;
47+ ( ) => Run ( "dotnet" , $ "test src/LittleForker.Tests/LittleForker.Tests.csproj -c Release -r { ArtifactsDir } --no-build -l trx;LogFileName=LittleForker.Tests.xml --verbosity=normal") ) ;
5048
51- Target (
52- Pack ,
49+ Target ( Pack ,
5350 DependsOn ( Build ) ,
54- ForEach ( "LittleForker" ) ,
55- project => Run ( "dotnet" , $ "pack src/{ project } /{ project } .csproj -c Release -o { ArtifactsDir } --no-build") ) ;
51+ ( ) => Run ( "dotnet" , $ "pack src/LittleForker/LittleForker.csproj -c Release -o { ArtifactsDir } --no-build") ) ;
5652
5753 Target ( Publish , DependsOn ( Pack ) , ( ) =>
5854 {
@@ -66,7 +62,7 @@ static void Main(string[] args)
6662 Console . WriteLine ( "Feedz API key not available. Packages will not be pushed." ) ;
6763 return ;
6864 }
69- Console . WriteLine ( "Feedz API Key available. Pushing packages to Feedz..." ) ;
65+ Console . WriteLine ( $ "Feedz API Key available ' { apiKey . Substring ( 0 , 5 ) } ...' . Pushing packages to Feedz...") ;
7066 foreach ( var packageToPush in packagesToPush )
7167 {
7268 Run ( "dotnet" , $ "nuget push { packageToPush } -s https://f.feedz.io/dh/oss-ci/nuget/index.json -k { apiKey } --skip-duplicate", noEcho : true ) ;
You can’t perform that action at this time.
0 commit comments