We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent0fc41af commit9a3b757Copy full SHA for 9a3b757
.github/workflows/ci.yml
@@ -58,16 +58,13 @@ jobs:
58
cargo pgrx init
59
echo "shared_preload_libraries = 'pgml'" >> ~/.pgrx/data-16/postgresql.conf
60
fi
61
- -name:Get current version
62
-id:current_version
63
-run:echo "CI_BRANCH=$(git name-rev --name-only HEAD)" >> $GITHUB_OUTPUT
64
-name:Update extension
65
if:steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'
66
run:|
67
git checkout master
68
echo "\q" | cargo pgrx run
69
psql -p 28816 -h localhost -d pgml -P pager -c "CREATE EXTENSION pgml;"
70
- git checkout $CI_BRANCH
+ git checkout $GITHUB_SHA
71
72
psql -p 28816 -h localhost -d pgml -P pager -c "ALTER EXTENSION pgml UPDATE;"
73
-name:Run tests