ci: use elc-linux-amd64 from El repo, fix EL_HOME to lang/ across all workflows
This commit is contained in:
@@ -80,8 +80,7 @@ jobs:
|
||||
git clone --depth 1 \
|
||||
"https://will:${CHECKOUT_TOKEN}@git.neuralplatform.ai/neuron-technologies/el.git" \
|
||||
"$DEST"
|
||||
ls -la "$DEST" | head -5
|
||||
echo "EL_HOME=$DEST" >> "$GITHUB_ENV"
|
||||
echo "EL_HOME=$DEST/lang" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Authenticate to GCP
|
||||
id: auth
|
||||
@@ -104,15 +103,12 @@ jobs:
|
||||
- name: Configure docker auth for Artifact Registry
|
||||
run: gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
|
||||
|
||||
- name: Get elc (pre-built linux/amd64 from El SDK release)
|
||||
- name: Get elc (pre-built linux/amd64 from El repo)
|
||||
if: steps.changetype.outputs.asset_only != 'true'
|
||||
run: |
|
||||
set -euo pipefail
|
||||
curl -fL -o "$EL_HOME/dist/platform/elc" \
|
||||
https://git.neuralplatform.ai/neuron-technologies/el/releases/download/v1.2.1/elc-linux-amd64
|
||||
chmod +x "$EL_HOME/dist/platform/elc"
|
||||
file "$EL_HOME/dist/platform/elc"
|
||||
ls -la "$EL_HOME/dist/platform/elc"
|
||||
chmod +x "$EL_HOME/dist/platform/elc-linux-amd64"
|
||||
ln -sf "$EL_HOME/dist/platform/elc-linux-amd64" "$EL_HOME/dist/platform/elc"
|
||||
|
||||
- name: Compute image tag
|
||||
id: tag
|
||||
|
||||
Reference in New Issue
Block a user