-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7508839
commit ad6acfd
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- run: echo " workspace print $GITHUB_WORKSPACE" | ||
|
||
- name: Use Python 3.8.x | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -32,12 +32,11 @@ jobs: | |
SF_ROLE: ${{ secrets.SNOWFLAKE_ROLE }} | ||
SF_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }} | ||
SF_DATABASE: ${{ secrets.SNOWFLAKE_DATABASE }} | ||
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} | ||
run: | | ||
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE" | ||
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD } | ||
echo "PROJECT_FOLDER $(PROJECT_FOLDER)" | ||
python --version | ||
echo "Step 1: Installing schemachange" | ||
pip install schemachange | ||
|
||
echo "Step 2: Running schemachange" | ||
schemachange -f $GITHUB_WORKSPACE/migrations -a $SF_ACCOUNT -u $SF_USERNAME -r $SF_ROLE -w $SF_WAREHOUSE -d $SF_DATABASE -c $SF_DATABASE.SCHEMACHANGE.CHANGE_HISTORY --create-change-history-table | ||
schemachange -f $(PROJECT_FOLDER)/migrations -a $SF_ACCOUNT -u $SF_USERNAME -r $SF_ROLE -w $SF_WAREHOUSE -d $SF_DATABASE -c $SF_DATABASE.SCHEMACHANGE.CHANGE_HISTORY --create-change-history-table |