Commit 37f466ba by mingyuan

use psql

parent ec92c2ee
...@@ -8,9 +8,7 @@ jobs: ...@@ -8,9 +8,7 @@ jobs:
run: | run: |
sudo systemctl start postgresql sudo systemctl start postgresql
sudo systemctl status postgresql sudo systemctl status postgresql
sudo su postgres sudo su postgres && psql -c "create role runner with login password 'runner';" && exit
psql -c "create role runner with login password 'runner';"
exit
- name: Set up Ruby - name: Set up Ruby
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment