Skip to content

Commit

Permalink
Adding metadata for the publishing of libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutomi committed Mar 6, 2024
1 parent e99e2ec commit ad56e54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: dotnet restore

- name: Build
run: dotnet build -c Release --no-restore
run: dotnet build -c Release --no-restore --version-suffix ${{ github.run_number }}

- name: Test
run: dotnet test -c Release --no-build --verbosity normal
Expand All @@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@v4

- name: Pack Libraries
run: dotnet pack -c Release --include-symbols --include-source -o ./nupkgs
run: dotnet pack -c Release --include-symbols --include-source -o ./nupkgs --version-suffix ${{ github.run_number }}

- name: Publish to GitHub Packages
run: dotnet nuget push ./nupkgs/*.nupkg --source "https://nuget.pkg.github.com/deveel/index.json" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
Expand Down
6 changes: 6 additions & 0 deletions src/Deveel.Pipelines/Deveel.Pipelines.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>0.1.0</VersionPrefix>
<PackageTags>pipelines;pipeline;dotnet;handler;pipes</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/deveel/deveel.pipeline</RepositoryUrl>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.4" />
Expand Down

0 comments on commit ad56e54

Please sign in to comment.