Skip to content

Commit 1d477d5

Browse files
committed
Update nuget release
1 parent 0340bd0 commit 1d477d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
version="${GITHUB_REF_NAME#v}"
2323
echo "version-without-v=$version" >> $GITHUB_OUTPUT
2424
- name: Pack
25-
run: dotnet pack ./Ecia.Barcode.Parser.sln -c Release -p:PackageVersion=${{ steps.get_version.outputs.version-without-v }}
25+
run: dotnet pack src/Ecia.Barcode.Parser/Ecia.Barcode.Parser.csproj -c Release -p:PackageVersion=${{ steps.get_version.outputs.version-without-v }}
2626
- name: Push
2727
run: dotnet nuget push src/Ecia.Barcode.Parser/bin/Release/Ecia.Barcode.Parser.${{ steps.get_version.outputs.version-without-v }}.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
2828
env:

src/Ecia.Barcode.Parser/Ecia.Barcode.Parser.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
</PropertyGroup>
2828

2929
<ItemGroup>
30-
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
30+
<None Include="..\..\icon.png" PackagePath="\" Pack="true" />
31+
<None Include="..\..\README.md" PackagePath="\" Pack="true"/>
3132
</ItemGroup>
3233
</Project>

0 commit comments

Comments
 (0)