File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 29
29
uses : azure/CLI@v1
30
30
with :
31
31
inlineScript : |
32
- if (az storage blob exists --container-name 'manifests' --name ${{ inputs.snowflake-source-database }}_manifest.json --account-name ${{ inputs.storage-account }} --auth-mode login)
32
+ if $ (az storage blob exists --container-name 'manifests' --name ${{ inputs.snowflake-source-database }}_manifest.json --account-name ${{ inputs.storage-account }} --query exists --auth-mode login)
33
33
then
34
34
echo " ==> DBT manifest exists in the container, copying file"
35
35
az storage blob copy start \
Original file line number Diff line number Diff line change 26
26
uses : azure/CLI@v1
27
27
with :
28
28
inlineScript : |
29
- if (az storage blob exists --container-name 'manifests' --name ${{ inputs.snowflake-target-database }}_manifest.json --account-name ${{ inputs.storage-account }} --auth-mode login)
29
+ if $ (az storage blob exists --container-name 'manifests' --name ${{ inputs.snowflake-target-database }}_manifest.json --account-name ${{ inputs.storage-account }} --query exists --auth-mode login)
30
30
then
31
31
echo " ==> DBT manifest exists in the container, deleting file"
32
32
az storage blob delete \
Original file line number Diff line number Diff line change 32
32
uses : azure/CLI@v1
33
33
with :
34
34
inlineScript : |
35
- if (az storage blob exists --container-name 'manifests' --name ${{ inputs.snowflake-target-database }}_manifest.json --account-name ${{ inputs.storage-account }} --auth-mode login)
35
+ if $ (az storage blob exists --container-name 'manifests' --name ${{ inputs.snowflake-target-database }}_manifest.json --account-name ${{ inputs.storage-account }} --query exists --auth-mode login)
36
36
then
37
37
echo " ==> DBT manifest exists in the container, downloading"
38
38
az storage blob download --account-name ${{ inputs.storage-account }} --auth-mode login --container 'manifests' --name '${{ inputs.snowflake-target-database }}_manifest.json' --file '${{ inputs.working-directory }}/manifest.json'
You can’t perform that action at this time.
0 commit comments