We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
set-output
1 parent 4a273b3 commit 3edbdc1Copy full SHA for 3edbdc1
.github/workflows/ci-docs.yml
@@ -95,9 +95,9 @@ jobs:
95
# We support setting the version and build for manual builds.
96
# We only use a non-zero build # when making multiple manual builds in one day.
97
run: |
98
- major_dot_minor_version_number="$(cat ${PATH_TO_VERSION_FILE})"
+ echo "MAJOR_DOT_MINOR_VERSION_NUMBER=$(cat ${PATH_TO_VERSION_FILE})" >> $GITHUB_ENV
99
if test -z "${{ github.event.inputs.version }}"; then
100
- export VERSION_NUMBER=$major_dot_minor_version_number.$((`git log -n 1 --format=%ct` / (60*60*24)))
+ export VERSION_NUMBER=$MAJOR_DOT_MINOR_VERSION_NUMBER.$((`git log -n 1 --format=%ct` / (60*60*24)))
101
else
102
export VERSION_NUMBER=${{ github.event.inputs.version }}
103
fi
0 commit comments