Skip to content

Commit

Permalink
- Minor version bump, trying to get build server to also publish Ron…
Browse files Browse the repository at this point in the history
…Sijm.Blazyload.Library.nupkg
  • Loading branch information
RonSijm committed May 19, 2023
1 parent 4d5e9a6 commit 4e7dd14
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ jobs:
uses: codecov/codecov-action@v2.0.3
with:
directory: ./coverage
- name: Build Release
run: dotnet build src --no-restore --configuration Release -o "./packages"
- name: Build Blazyload
run: dotnet build src/RonSijm.Blazyload --configuration Release -o "./packages"
- name: Restore dependencies of Blazyload Library
run: dotnet restore src/RonSijm.Blazyload.Library
- name: Build Blazyload Library
run: dotnet build src/RonSijm.Blazyload.Library --configuration Release -o "./packages"
- name: Publish to NuGet
env:
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}
run: dotnet nuget push -s https://www.nuget.org/api/v2/package -k $NUGET_API_KEY --skip-duplicate
./packages/RonSijm.Blazyload.*.nupkg
./packages/*.nupkg
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<LangVersion>11</LangVersion>
<VersionPrefix>1.1.0</VersionPrefix>
<LangVersion>preview</LangVersion>
<VersionPrefix>1.1.0.1</VersionPrefix>
<ImplicitUsings>enable</ImplicitUsings>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>RonSijm.Blazyload.Library</Title>
Expand Down
4 changes: 2 additions & 2 deletions src/RonSijm.Blazyload/RonSijm.Blazyload.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<LangVersion>preview</LangVersion>
<VersionPrefix>1.1.0</VersionPrefix>
<VersionPrefix>1.1.0.1</VersionPrefix>
<ImplicitUsings>enable</ImplicitUsings>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>RonSijm.Blazyload</Title>
Expand Down Expand Up @@ -31,7 +31,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\RonSijm.Blazyload.Library\RonSijm.Blazyload.Library.csproj" />
<PackageReference Include="RonSijm.Blazyload.Library" Version="1.*" />
</ItemGroup>

</Project>

0 comments on commit 4e7dd14

Please sign in to comment.