Update .gitea/workflows/publish-nuget.yaml
Fix workflow bug
This commit is contained in:
@@ -28,12 +28,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
for projfile in $(find . -name "*.csproj"); do
|
for projfile in $(find . -name "*.csproj"); do
|
||||||
if grep -q "<IsPackable>true</IsPackable>" "$projfile"; then
|
if grep -q "<IsPackable>true</IsPackable>" "$projfile"; then
|
||||||
echo "Packing $projfile..."
|
echo "Packing $projfile..."
|
||||||
if ! dotnet pack "$projfile" -c Release -o ./artifacts; then
|
if ! dotnet pack "$projfile" -c Release -o ./artifacts; then
|
||||||
echo "⚠️ Failed to pack $projfile"
|
echo "Failed to pack $projfile"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Publish all packages
|
- name: Publish all packages
|
||||||
|
|||||||
Reference in New Issue
Block a user