Skip to content

Commit b57a544

Browse files
committed
ci(validate-wkflow): adjust build job to build docs after uploading dist artifact
1 parent 356d25a commit b57a544

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/validate.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,17 +137,17 @@ jobs:
137137
printf '%s\n' "dist_dir=dist/*" >> $GITHUB_OUTPUT
138138
printf '%s\n' "artifacts_name=dist" >> $GITHUB_OUTPUT
139139
140-
- name: Build | Build documentation
141-
id: build-docs
142-
run: bash ./scripts/build_docs.sh
143-
144140
- name: Upload | Distribution Artifacts
145141
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
146142
with:
147143
name: ${{ steps.build.outputs.artifacts_name }}
148144
path: ${{ steps.build.outputs.dist_dir }}
149145
if-no-files-found: error
150-
retention-days: 2
146+
retention-days: 1
147+
148+
- name: Build | Build documentation
149+
id: build-docs
150+
run: bash ./scripts/build_docs.sh
151151

152152
- name: Upload | Documentation
153153
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0

0 commit comments

Comments
 (0)