File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ jobs:
89
89
exit 1
90
90
fi
91
91
92
- # Parse manifest.toml once
93
- PROJECT=$(python3 -c "import toml ; print(toml .load('$MANIFEST_PATH')['project'])")
94
- INSTANCE=$(python3 -c "import toml ; print(toml .load('$MANIFEST_PATH')['instance'])")
95
- DATABASE=$(python3 -c "import toml ; print(toml .load('$MANIFEST_PATH')['database'])")
96
- FORMAT=$(python3 -c "import toml ; config=toml .load('$MANIFEST_PATH'); print(config.get('format', 'JSON'))")
92
+ # Parse manifest.toml once using built-in tomllib
93
+ PROJECT=$(python3 -c "import tomllib ; print(tomllib .load(open( '$MANIFEST_PATH', 'rb') )['project'])")
94
+ INSTANCE=$(python3 -c "import tomllib ; print(tomllib .load(open( '$MANIFEST_PATH', 'rb') )['instance'])")
95
+ DATABASE=$(python3 -c "import tomllib ; print(tomllib .load(open( '$MANIFEST_PATH', 'rb') )['database'])")
96
+ FORMAT=$(python3 -c "import tomllib ; config=tomllib .load(open( '$MANIFEST_PATH', 'rb') ); print(config.get('format', 'JSON'))")
97
97
98
98
# Process each SQL file
99
99
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
You can’t perform that action at this time.
0 commit comments