Skip to content

Commit 3edbdc1

Browse files
committed
Attempt to avoid set-output deprecated warning.
1 parent 4a273b3 commit 3edbdc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ jobs:
9595
# We support setting the version and build for manual builds.
9696
# We only use a non-zero build # when making multiple manual builds in one day.
9797
run: |
98-
major_dot_minor_version_number="$(cat ${PATH_TO_VERSION_FILE})"
98+
echo "MAJOR_DOT_MINOR_VERSION_NUMBER=$(cat ${PATH_TO_VERSION_FILE})" >> $GITHUB_ENV
9999
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)))
100+
export VERSION_NUMBER=$MAJOR_DOT_MINOR_VERSION_NUMBER.$((`git log -n 1 --format=%ct` / (60*60*24)))
101101
else
102102
export VERSION_NUMBER=${{ github.event.inputs.version }}
103103
fi

0 commit comments

Comments
 (0)