mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 05:07:43 +02:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user