Skip to content

Commit

Permalink
Use correct name for tox doc task.
Browse files Browse the repository at this point in the history
  • Loading branch information
tvalentyn committed Jun 18, 2024
1 parent aabf7d0 commit 9379df1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build_release_candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ on:
--
beam_site_pr: create the documentation update PR against apache/beam-site.
--
prism: build and upload the artifacts to the release for this tag
prism: build and upload the artifacts to the release for this tag
required: true
default: |
{java_artifacts: "no",
Expand Down Expand Up @@ -339,7 +339,7 @@ jobs:
pip install -U pip
pip install tox
# TODO(https://github.com/apache/beam/issues/20209): Don't hardcode py version in this file.
tox -e py38-docs
tox -e docs
rm -rf target/docs/_build/.doctrees
- name: Build Typescript Docs
working-directory: beam/sdks/typescript
Expand Down Expand Up @@ -469,7 +469,7 @@ jobs:
svn co https://dist.apache.org/repos/dist/dev/beam
mkdir -p "${SVN_ARTIFACTS_DIR}"
OUTPUT_DIR=$ROOT_DIR/$SVN_ARTIFACTS_DIR
mkdir -p $OUTPUT_DIR
echo "OUTPUT_DIR=$OUTPUT_DIR"
Expand All @@ -486,8 +486,8 @@ jobs:
BUILD_DIR=`pwd`
echo "............Build and stage prism artifacts in the Github Release $GH_RELEASE_ID for tag $RC_TAG.........."
# Loop through and build desired set from allowed types.
for OS in linux windows darwin; do
for ARCH in amd64 arm64; do
Expand All @@ -498,7 +498,7 @@ jobs:
OUTPUT_FILE="$TARGET_DIR/$TARGET_NAME"
if GOOS=$OS GOARCH=$ARCH CGO_ENABLED=0 go build -trimpath -buildvcs=false -o "$OUTPUT_FILE" . > /dev/null 2>&1; then
cd $TARGET_DIR
# Extract real output name. Windows builds automatically have .exe added.
# Extract real output name. Windows builds automatically have .exe added.
ARTIFACT=`ls`
echo "target built - $ARTIFACT"
Expand All @@ -511,10 +511,10 @@ jobs:
# Upload to the release.
gh release upload $RC_TAG $ZIP_NAME ${ZIP_NAME}.sha512 ${ZIP_NAME}.asc --clobber
# Remove the binary from the release directory
rm $ARTIFACT
# Return to our root build dir.
cd $BUILD_DIR
else
Expand Down

0 comments on commit 9379df1

Please sign in to comment.