We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c36cd commit fcd70eeCopy full SHA for fcd70ee
.github/workflows/docs.yml
@@ -27,10 +27,9 @@ jobs:
27
cache: maven
28
- name: Set up refname build
29
if: github.event.inputs.build-refname
30
- env:
31
- BUILD_REFNAME=${{ github.event.inputs.build-refname }}
32
run: |
33
git fetch --depth 1 https://github.com/$GITHUB_REPOSITORY "$BUILD_REFNAME"
+ export BUILD_REFNAME=${{ github.event.inputs.build-refname }}
34
echo "BUILD_REFNAME=$BUILD_REFNAME" >> $GITHUB_ENV
35
export BUILD_VERSION=$(git cat-file --textconv FETCH_HEAD:pom.xml | python3 -c "import xml.etree.ElementTree as xml; from sys import stdin; print(xml.parse(stdin).getroot().find('{http://maven.apache.org/POM/4.0.0}version').text)")
36
echo BUILD_VERSION=$BUILD_VERSION >> $GITHUB_ENV
0 commit comments