Reapply "Init scripts with unified import format (#7242)"

This reverts commit 751e234bd7.

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-12-12 21:53:44 +07:00
parent 751e234bd7
commit 0808e49ddf
51 changed files with 883 additions and 194 deletions
+9
View File
@@ -42,6 +42,7 @@ env:
tools
PublishTempFolder: publish_artifacts
MODEL_VERSION_MODE: ${{ startsWith(github.ref, 'refs/tags/s') && 'tagTime' || 'file' }}
INIT_SCRIPTS_BRANCH: 'unified-init-scripts'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -493,6 +494,14 @@ jobs:
with:
fetch-depth: 0
filter: tree:0
- name: Checkout init repository
run: |
wget https://github.com/hcengineering/init/archive/refs/heads/${{env.INIT_SCRIPTS_BRANCH}}.zip
unzip ${{env.INIT_SCRIPTS_BRANCH}}.zip -d pods/workspace
mv pods/workspace/init-${{env.INIT_SCRIPTS_BRANCH}} pods/workspace/init
rm -rf ${{env.INIT_SCRIPTS_BRANCH}}.zip
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'