File tree Expand file tree Collapse file tree 3 files changed +8
-14
lines changed
Expand file tree Collapse file tree 3 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 3333 dotnet-version : ${{ env.DOTNET_VERSION }}
3434 dotnet-quality : ' preview'
3535
36- - name : Install dependencies
36+ - name : Install Dependencies
3737 run : dotnet restore -p:FullTargets=false
3838
3939 - name : Build
@@ -42,10 +42,12 @@ jobs:
4242 - name : Test
4343 run : dotnet test --no-restore -p:FullTargets=false
4444
45- pack-and-upload :
45+ pack-and-publish :
4646 name : pack-and-publish
4747 needs : build-and-test
4848 runs-on : ubuntu-latest
49+ env :
50+ NUGET_SOURCE : https://nuget.pkg.github.com/yungd1plomat/index.json
4951
5052 steps :
5153 - name : Checkout
@@ -59,18 +61,18 @@ jobs:
5961 dotnet-version : ${{ env.DOTNET_VERSION }}
6062 dotnet-quality : ' preview'
6163
62- - name : Install dependencies
64+ - name : Install Dependencies
6365 run : dotnet restore -p:FullTargets=true
6466
6567 - name : Pack
6668 run : dotnet pack --no-restore --version-suffix build.${{ github.run_number }}.${{ github.run_attempt }} -o "nugets" -p:FullTargets=true
6769
6870 - name : Publish
6971 if : ${{ github.event_name == 'push' && github.ref_name == 'main' }}
70- run : dotnet nuget push ./nugets/*nupkg --source "github " --skip-duplicate --api-key ${{ secrets.NUGET_KEY }}
72+ run : dotnet nuget push ./nugets/*nupkg --source "$env:NUGET_SOURCE " --skip-duplicate --api-key ${{ secrets.NUGET_KEY }}
7173
7274 - name : Upload
7375 uses : actions/upload-artifact@v3
7476 with :
7577 name : Nuget Package
76- path : nugets/**
78+ path : nugets/**
Original file line number Diff line number Diff line change 2424 <RepositoryUrl >https://github.com/yungd1plomat/AdvancedSharpAdbClient</RepositoryUrl >
2525 <SymbolPackageFormat >snupkg</SymbolPackageFormat >
2626 <Title >.NET client for adb, Android Debug Bridge (AdvancedSharpAdbClient)</Title >
27- <VersionPrefix >2.5.7 </VersionPrefix >
27+ <VersionPrefix >2.5.8 </VersionPrefix >
2828 </PropertyGroup >
2929
3030 <PropertyGroup >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments