Skip to content

Commit f1f76bb

Browse files
authored
Update xml.yml
1 parent 8606896 commit f1f76bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/xml.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ jobs:
1111
- uses: actions/checkout@v1
1212
- name: Install xmlstarlet
1313
run: sudo apt-get install xmlstarlet
14-
- name: Reading from xml
14+
- name: Read data from xml project file
1515
run: |
1616
export REPOSITORY_NAME=$(basename ${{ github.repository }})
1717
echo $REPOSITORY_NAME
1818
export PACKAGE_VERSION=$(xmlstarlet sel -t -m '//VersionPrefix[1]' -v . -n <Platform.$REPOSITORY_NAME/Platform.$REPOSITORY_NAME.csproj)
1919
echo $PACKAGE_VERSION
20+
echo $PACKAGE_VERSION > PACKAGE_VERSION.txt
2021
export PACKAGE_RELEASE_NOTES=$(xmlstarlet sel -t -m '//PackageReleaseNotes[1]' -v . -n <Platform.$REPOSITORY_NAME/Platform.$REPOSITORY_NAME.csproj)
2122
echo $PACKAGE_RELEASE_NOTES
23+
echo $PACKAGE_RELEASE_NOTES > PACKAGE_RELEASE_NOTES.txt

0 commit comments

Comments
 (0)