Skip to content

Commit 933e018

Browse files
authored
ci: Fix XML parser (#1301)
Signed-off-by: Dave Skender <[email protected]>
1 parent 5beb677 commit 933e018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
- name: Compose package info
152152
id: package_info
153153
run: |
154-
PACKAGE_NAME=$(xmllint --xpath "//PropertyGroup/PackageId/text()" Directory.Build.props || xmllint --xpath "//PropertyGroup/PackageId/text()" **/*.csproj)
154+
PACKAGE_NAME=$(xmllint --xpath "//PropertyGroup/PackageId/text()" src/Indicators.csproj)
155155
echo "pkg_name=${PACKAGE_NAME}" >> $GITHUB_OUTPUT
156156
if [[ "${{ inputs.environment }}" == "nuget.org" ]]; then
157157
echo "pkg_url=https://www.nuget.org/packages/${PACKAGE_NAME}/${{ needs.build.outputs.version }}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)