Skip to content

Add pass outputs

Add pass outputs #1

Workflow file for this run

name: Model Auto-tracing & Uploading
on:
workflow_dispatch:
inputs:
model_id:
description: "Model ID for auto-tracing and uploading (e.g. sentence-transformers/msmarco-distilbert-base-tas-b)"
required: true
type: string
jobs:
verify:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
cluster: ["opensearch"]
secured: ["true"]
entry:
- { opensearch_version: 2.7.0 }
steps:
- name: Checkout

Check failure on line 20 in .github/workflows/pass_output.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pass_output.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
uses: actions/checkout@v2
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: python3 -m pip install opensearch-py-ml
- name: Autotrace and Upload
run: |
echo "Model Name: ${{ github.event.inputs.model_name }}"
python3 automated_actions/pass_outputs.py ${{ github.event.inputs.model_id }}
- name: Echo folder path
run: |
echo "FOLDER_PATH= $(jq '.folder_path' automated_actions/output_dict.json)" >> $GITHUB_ENV
run: echo "${{ env.FOLDER_PATH }}"