File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,23 @@ inputs:
31
31
storage-integration-name :
32
32
description : The Storage Integration Name
33
33
required : false
34
+ storage-account-name :
35
+ description : The Storage Account Name for Storeage Integration URL
36
+ required : false
37
+ database-comment :
38
+ description : The Comment to add to the clone database
39
+ required : false
34
40
35
41
runs :
36
42
using : " composite"
37
43
steps :
38
- - name : Find and replace target & source database name
44
+ - name : Find and replace the placeholders
39
45
run : |
40
- sed -i 's/TARGET_DATABASE_NAME/${{ inputs.target-database }}/g' database-clone.sql
41
- sed -i 's/SOURCE_DATABASE_NAME/${{ inputs.source-database }}/g' database-clone.sql
46
+ sed -i 's/<<TARGET_DATABASE_NAME>>/${{ inputs.target-database }}/g' database-clone.sql
47
+ sed -i 's/<<SOURCE_DATABASE_NAME>>/${{ inputs.source-database }}/g' database-clone.sql
48
+ sed -i 's/<<CLONE_DATABASE_COMMENT>>/${{ inputs.source-database }}/g' database-clone.sql
49
+ sed -i 's/<<STORAGE_INTEGRATION_NAME>>/${{ inputs.storage-integration-name }}/g' database-clone.sql
50
+ sed -i 's/<<STORAGE_ACCOUNT_NAME>>/${{ inputs.storage-account-name }}/g' database-clone.sql
42
51
shell : pwsh
43
52
working-directory : ${{ inputs.working-directory }}
44
53
- name : Download SnowSQL
You can’t perform that action at this time.
0 commit comments