update gitea workflow;
Some checks failed
Publish NuGet Packages / publish (push) Failing after 1m25s

This commit is contained in:
2025-11-04 17:39:31 +09:00
parent 49e1171781
commit 3d0d705956

View File

@@ -28,18 +28,18 @@ jobs:
run: | run: |
for projfile in $(find . -name "*.csproj"); do for projfile in $(find . -name "*.csproj"); do
packable=$(dotnet msbuild "$projfile" -t:GetProperty -p:PropertyName=IsPackable -nologo -v:q) packable=$(dotnet msbuild "$projfile" -t:GetProperty -p:PropertyName=IsPackable -nologo -v:q)
if [ "$packable" = "true" ]; then if [ "$packable" = "True" ]; then
dotnet pack "$projfile" -c Release dotnet pack "$projfile" -c Release
fi fi
done done
- name: Publish all packages - name: Publish all packages
env: env:
NUGET_API_KEY: ${{ secrets.GITEA_TOKEN }} NUGET_API_KEY: ${{ secrets.NUGET_TOKEN }}
run: | run: |
for projfile in $(find . -name "*.csproj"); do for projfile in $(find . -name "*.csproj"); do
packable=$(dotnet msbuild "$projfile" -t:GetProperty -p:PropertyName=IsPackable -nologo -v:q) packable=$(dotnet msbuild "$projfile" -t:GetProperty -p:PropertyName=IsPackable -nologo -v:q)
if [ "$packable" = "true" ]; then if [ "$packable" = "True" ]; then
projname=$(basename "$projfile" .csproj) projname=$(basename "$projfile" .csproj)
VERSION=$(dotnet msbuild "$projfile" -nologo -v:q -t:GetProperty -p:PropertyName=PackageVersion) VERSION=$(dotnet msbuild "$projfile" -nologo -v:q -t:GetProperty -p:PropertyName=PackageVersion)
pkg=$(find "$projname/bin/Release" -maxdepth 1 -type f \ pkg=$(find "$projname/bin/Release" -maxdepth 1 -type f \