Skip to content

Commit

Permalink
feat: upload debug nupkg feed
Browse files Browse the repository at this point in the history
  • Loading branch information
sirskunkalot committed Jan 20, 2022
1 parent d33ed56 commit 67c9270
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ jobs:
mv JotunnLib/bin/Debug/net462/Jotunn.dll Jotunn-DEBUG-${{ steps.get_version.outputs.VERSION }}.dll
- name: Publish to NuGet
run: dotnet nuget push "JotunnLib/bin/Release/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
run: |
dotnet nuget push "JotunnLib/bin/Release/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
dotnet nuget push "JotunnLib/bin/Debug/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
- name: Create GH Release
uses: softprops/action-gh-release@v1
Expand Down
32 changes: 16 additions & 16 deletions JotunnLib/JotunnLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,28 @@
<TargetFramework>net462</TargetFramework>
<Product>JotunnLib</Product>
<Id>JotunnLib</Id>
<PackageId>JotunnLib</PackageId>
<LangVersion>8.0</LangVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Valheim-Modding team</Authors>
<Description>Jötunn (/ˈjɔːtʊn/, "giant") is a modding library for Valheim, with the goal of making the lives of mod developers easier.</Description>
<projectUrl>https://github.com/Valheim-Modding/</projectUrl>
<PackageIcon>images\JVL_Logo_128x128.png</PackageIcon>
<iconUrl>https://github.com/Valheim-Modding/Jotunn/raw/dev/resources/JVL_Logo.gif</iconUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Valheim-Modding</PackageProjectUrl>
<RepositoryUrl>https://github.com/Valheim-Modding/Jotunn</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Valheim Modding Library</PackageTags>
<NeutralLanguage>en</NeutralLanguage>
<AssemblyName>Jotunn</AssemblyName>
<RootNamespace>Jotunn</RootNamespace>
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup>
<LangVersion>8.0</LangVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<PackageId>JotunnLib</PackageId>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<PackageId>JotunnLib.Debug</PackageId>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Unity\Assets\Plugins\**" />
Expand Down Expand Up @@ -421,18 +433,6 @@
<Exec Command="powershell.exe -ExecutionPolicy RemoteSigned -File &quot;$(SolutionDir)publish.ps1&quot; -Target &quot;$(ConfigurationName)&quot; -TargetPath &quot;$(TargetDir.TrimEnd('\'))&quot; -TargetAssembly &quot;$(TargetFileName)&quot; -ValheimPath &quot;$(VALHEIM_INSTALL.TrimEnd('\'))&quot; -DeployPath &quot;$(MOD_DEPLOYPATH.TrimEnd('\'))&quot; -ProjectPath &quot;$(ProjectDir.TrimEnd('\'))&quot;" />
</Target>

<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Valheim-Modding</PackageProjectUrl>
<RepositoryUrl>https://github.com/Valheim-Modding/Jotunn</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Valheim Modding Library</PackageTags>
<NeutralLanguage>en</NeutralLanguage>
<AssemblyName>Jotunn</AssemblyName>
<RootNamespace>Jotunn</RootNamespace>
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
Expand Down

0 comments on commit 67c9270

Please sign in to comment.