Skip to content

Commit

Permalink
feat: description
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Oct 3, 2023
1 parent 9545b46 commit f0e7f04
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,7 @@ jobs:
- name: version check
if: success()
run: echo ok

- name: Set Environment Variables
run: |
PACK_OPTIONS="/p:Authors=ikpil"
PACK_OPTIONS+=" /p:Description=\"Small & portable byte-aligned LZ77 compression for C#\""
PACK_OPTIONS+=" /p:RepositoryType=git"
PACK_OPTIONS+=" /p:PackageProjectUrl=https://github.com/ikpil/DotFastLZ"
PACK_OPTIONS+=" /p:RepositoryUrl=https://github.com/ikpil/DotFastLZ"
PACK_OPTIONS+=" /p:PackageTags=\"compression fastlz unity3d lz77\""
export PACK_OPTIONS
echo $PACK_OPTIONS

- name: Checkout
uses: actions/checkout@v3
with:
Expand All @@ -58,7 +47,14 @@ jobs:
run: dotnet test -c Release --no-build --verbosity normal

- name: Pack
run: dotnet pack $PACK_OPTIONS /p:PackageVersion=${{ github.event.inputs.version }} -c Release --nologo --output working-nuget
run: |
PACK_OPTIONS="/p:Authors=ikpil"
PACK_OPTIONS+=" /p:Description=\"Small & portable byte-aligned LZ77 compression for C#\""
PACK_OPTIONS+=" /p:RepositoryType=git"
PACK_OPTIONS+=" /p:PackageProjectUrl=https://github.com/ikpil/DotFastLZ"
PACK_OPTIONS+=" /p:RepositoryUrl=https://github.com/ikpil/DotFastLZ"
PACK_OPTIONS+=" /p:PackageTags=\"compression fastlz unity3d lz77\""
dotnet pack $PACK_OPTIONS /p:PackageVersion=${{ github.event.inputs.version }} -c Release --nologo --output working-nuget
- name: Publish the package to nuget.org
run: dotnet nuget push ./working-nuget/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
Expand Down

0 comments on commit f0e7f04

Please sign in to comment.