Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading upload artifact action from v3 to v4 #3409

Merged
merged 10 commits into from
Oct 14, 2024
17 changes: 17 additions & 0 deletions .github/actions/upload-artifact/action.yml
jayesh-tanna marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Upload Artifact'
description: 'Uploads a specified folder as an artifact'
inputs:
name:
description: 'The name of the artifact'
required: true
path:
description: 'The path to the artifact'
required: true
runs:
using: 'composite'
steps:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.name }}
path: ${{ inputs.path }}
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/assets/assets-in-registry
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: share-data-using-registry
path: sdk/python/assets/assets-in-registry
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/assets/assets-in-registry
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: share-models-components-environments
path: sdk/python/assets/assets-in-registry
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-component-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/assets/component
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: component
path: sdk/python/assets/component
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-data-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/assets/data
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: data
path: sdk/python/assets/data
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-data-working_with_mltable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/assets/data
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: working_with_mltable
path: sdk/python/assets/data
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-environment-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/assets/environment
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: environment
path: sdk/python/assets/environment
2 changes: 1 addition & 1 deletion .github/workflows/sdk-assets-model-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/assets/model
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: model
path: sdk/python/assets/model
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/batch/deploy-models/custom-outputs-parquet
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: custom-output-batch
path: sdk/python/endpoints/batch/deploy-models/custom-outputs-parquet
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
working-directory: sdk/python/endpoints/batch/deploy-models/heart-classifier-mlflow
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: mlflow-for-batch-tabular
path: sdk/python/endpoints/batch/deploy-models/heart-classifier-mlflow
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
working-directory: sdk/python/endpoints/batch/deploy-models/huggingface-text-summarization
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: text-summarization-batch
path: sdk/python/endpoints/batch/deploy-models/huggingface-text-summarization
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/batch/deploy-models/imagenet-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: imagenet-classifier-batch
path: sdk/python/endpoints/batch/deploy-models/imagenet-classifier
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
working-directory: sdk/python/endpoints/batch/deploy-models/imagenet-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: imagenet-classifier-mlflow
path: sdk/python/endpoints/batch/deploy-models/imagenet-classifier
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/batch/deploy-models/mnist-classifier
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: mnist-batch
path: sdk/python/endpoints/batch/deploy-models/mnist-classifier
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: sdk-deploy-and-test
path: sdk/python/endpoints/batch/deploy-pipelines/batch-scoring-with-preprocessing
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/batch/deploy-pipelines/hello-batch
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: sdk-deploy-and-test
path: sdk/python/endpoints/batch/deploy-pipelines/hello-batch
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/batch/deploy-pipelines/training-with-components
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: sdk-deploy-and-test
path: sdk/python/endpoints/batch/deploy-pipelines/training-with-components
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/custom-container
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-custom-container-multimodel
path: sdk/python/endpoints/online/custom-container
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/custom-container
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-custom-container
path: sdk/python/endpoints/online/custom-container
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/custom-container/triton
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-triton-cc
path: sdk/python/endpoints/online/custom-container/triton
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/kubernetes
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: kubernetes-online-endpoints-safe-rollout
path: sdk/python/endpoints/online/kubernetes
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/kubernetes
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: kubernetes-online-endpoints-simple-deployment
path: sdk/python/endpoints/online/kubernetes
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/llm/langchain
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: 1_langchain_basic_deploy
path: sdk/python/endpoints/online/llm/langchain
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/llm/semantic-kernel
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: 1_semantic_http_server
path: sdk/python/endpoints/online/llm/semantic-kernel
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/managed/managed-identities
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-managed-identity-sai
path: sdk/python/endpoints/online/managed/managed-identities
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/managed/managed-identities
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-managed-identity-uai
path: sdk/python/endpoints/online/managed/managed-identities
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-binary-payloads
path: sdk/python/endpoints/online/managed
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-inference-schema
path: sdk/python/endpoints/online/managed
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-keyvault
path: sdk/python/endpoints/online/managed
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-multimodel
path: sdk/python/endpoints/online/managed
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-openapi
path: sdk/python/endpoints/online/managed
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-safe-rollout
path: sdk/python/endpoints/online/managed
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/managed
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-simple-deployment
path: sdk/python/endpoints/online/managed
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/mlflow
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-deploy-mlflow-model-with-script
path: sdk/python/endpoints/online/mlflow
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/mlflow
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-deploy-mlflow-model
path: sdk/python/endpoints/online/mlflow
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/endpoints/online/triton/single-model
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: online-endpoints-triton
path: sdk/python/endpoints/online/triton/single-model
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/foundation-models/azure_openai/oai-v1
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: openai_completions_finetune
path: sdk/python/foundation-models/azure_openai/oai-v1
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/foundation-models/huggingface/inference/question-answering
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: question-answering-online-endpoint
path: sdk/python/foundation-models/huggingface/inference/question-answering
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/foundation-models/huggingface/inference/token-classification
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: token-classification-online-endpoint
path: sdk/python/foundation-models/huggingface/inference/token-classification
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/foundation-models/huggingface/inference/translation
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: translation-online-endpoint
path: sdk/python/foundation-models/huggingface/inference/translation
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
working-directory: sdk/python/foundation-models/huggingface/inference/zero-shot-classification
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: zero-shot-classification-online-endpoint
path: sdk/python/foundation-models/huggingface/inference/zero-shot-classification
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
working-directory: sdk/python/foundation-models/system/distillation/nli
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: distillation_chat_completion
path: sdk/python/foundation-models/system/distillation/nli
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
working-directory: sdk/python/foundation-models/system/import
- name: upload notebook's working folder as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: ./.github/actions/upload-artifact
with:
name: import_model_into_registry
path: sdk/python/foundation-models/system/import
Loading
Loading