Skip to content

Commit

Permalink
nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
trudyhood committed Jun 9, 2024
1 parent ccfc12d commit e2d8d8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nuget-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
run: dotnet workload install android

- name: Restore dependencies
run: dotnet restore
run: dotnet restore VpnHood.Client.App.Android.Ads.UnityAds

- name: Build Solution
run: dotnet build --no-restore --configuration $BUILD_CONFIG
run: dotnet build VpnHood.Client.App.Android.Ads.UnityAds --no-restore --configuration $BUILD_CONFIG

- name: Pack All Projects
run: dotnet pack --configuration $BUILD_CONFIG -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
run: dotnet pack VpnHood.Client.App.Android.Ads.UnityAds --configuration $BUILD_CONFIG -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg

- name: Publish
run: nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
<PackageIcon>VpnHood.png</PackageIcon>
<PackageProjectUrl>https://github.com/vpnhood/vpnhood</PackageProjectUrl>
<RepositoryUrl>https://github.com/vpnhood/vpnhood</RepositoryUrl>
<Version>4.5.527</Version>
<Version>4.5.524</Version>
<FileVersion>$([System.DateTime]::Now.ToString("yyyy.M.d.HHmm"))</FileVersion>
<BaseIntermediateOutputPath />
</PropertyGroup>

<ItemGroup>
<None Include="..\VpnHood.png" Link="Resources\VpnHood.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions VpnHood.Client.App.Android.Ads.UnityAds/_publish.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
& "$PSScriptRoot/../../VpnHood/Pub/Core/PublishNuget.ps1" $PSScriptRoot

0 comments on commit e2d8d8f

Please sign in to comment.