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 7790f95 commit 4620befCopy full SHA for 4620bef
.github/workflows/doc-build.yml
@@ -109,8 +109,10 @@ jobs:
109
110
# Convert refs/tags/v1.12.0rc3 into 1.12.
111
# Adopted from https://github.com/pytorch/pytorch/blob/main/.github/workflows/_docs.yml#L150C11-L155C13
112
- if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\.[0-9]+) ]] || [[ "${GITHUB_REF}" == "refs/heads/release/0.6" ]]; then
+ if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\.[0-9]+) ]]; then
113
TARGET_FOLDER="${BASH_REMATCH[1]}"
114
+ elif [[ "${GITHUB_REF}" == "refs/heads/release/0.6" ]]; then
115
+ TARGET_FOLDER="0.6"
116
else
117
TARGET_FOLDER="main"
118
fi
0 commit comments