Skip to content

Commit abbefaf

Browse files
committed
test 5
1 parent 56fa7ff commit abbefaf

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ApiReleaseDeployActionGitHubOnly.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,16 @@ jobs:
4747
fi
4848
4949
- name: Pack package
50-
run: dotnet pack ./src/Asv.Drones.Gui.Api/Asv.Drones.Gui.Api.csproj -c Release /p:Version=${VERSION}-dev --no-build -o .
50+
run: dotnet pack ./src/Asv.Drones.Gui.Api/Asv.Drones.Gui.Api.csproj -c Release /p:Version=${VERSION} --no-build -o .
51+
52+
- name: Check NuGet package file existence
53+
run: |
54+
if [ -f "Asv.Drones.Gui.Api.${VERSION}.nupkg" ]; then
55+
echo "NuGet package file exists in the root directory"
56+
else
57+
echo "Error: NuGet package file does not exist in the root directory"
58+
exit 1
59+
fi
5160
5261
- name: List output files
5362
run: ls -la

0 commit comments

Comments
 (0)