@@ -178,39 +178,8 @@ jobs:
178178 esac
179179
180180 - name : Bootstrap Action Workspace
181- if : |
182- '1' == '0' && env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
183- uses : elastic/docs-builder/.github/actions/bootstrap@main
184-
185- # # BEGIN TEMPORARY USE THIS AND REVERT BACK TO OUR BOOTSTRAP ACTION ONCE THIS IS MERGED
186- - shell : bash
187181 if : env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
188- run : |
189- git fetch --prune --unshallow --tags
190- git tag --list
191- - uses : actions/setup-dotnet@v4
192- if : env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
193- with :
194- global-json-file : global.json
195-
196- - id : dotnet
197- if : env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
198- shell : bash
199- run : |
200- dotnet tool restore
201- REPO_VERSION=$(dotnet minver -t=v -p=canary.0 -v=e -m=0.1)
202- echo "Version Number: ${REPO_VERSION}"
203- echo "REPO_VERSION=${REPO_VERSION}" >> $GITHUB_ENV
204- echo "full-version=${REPO_VERSION}" >> $GITHUB_OUTPUT
205- echo "major-version=$(echo ${REPO_VERSION} | cut -d"." -f1)" >> $GITHUB_OUTPUT
206-
207- - uses : actions/setup-node@v4
208- if : env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
209- with :
210- cache : npm
211- cache-dependency-path : src/Elastic.Documentation.Site/package-lock.json
212- node-version-file : .nvmrc
213- # # END TEMPORARY USE THIS AND REVERT BACK TO OUR BOOTSTRAP ACTION ONCE THIS IS MERGED
182+ uses : elastic/docs-builder/.github/actions/bootstrap@main
214183
215184 # we run our artifact directly, please use the prebuild
216185 # elastic/docs-builder@main GitHub Action for all other repositories!
0 commit comments