mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 04:52:57 +08:00
Output sql import process
This commit is contained in:
parent
0f8e570b84
commit
fc5fd203d6
5
.github/workflows/test-diffcalc.yml
vendored
5
.github/workflows/test-diffcalc.yml
vendored
@ -120,8 +120,9 @@ jobs:
|
|||||||
mysql --host ${{ env.DB_HOST }} -u${{ env.DB_USER }} -e "CREATE DATABASE osu_master"
|
mysql --host ${{ env.DB_HOST }} -u${{ env.DB_USER }} -e "CREATE DATABASE osu_master"
|
||||||
mysql --host ${{ env.DB_HOST }} -u${{ env.DB_USER }} -e "CREATE DATABASE osu_pr"
|
mysql --host ${{ env.DB_HOST }} -u${{ env.DB_USER }} -e "CREATE DATABASE osu_pr"
|
||||||
|
|
||||||
cat *.sql | mysql --host ${{ env.DB_HOST }} -u${{ env.DB_USER }} --database=osu_master
|
echo "Importing SQL..."
|
||||||
cat *.sql | mysql --host ${{ env.DB_HOST }} -u${{ env.DB_USER }} --database=osu_pr
|
{ pv -f *.sql | mysql --host ${{ env.DB_HOST }} -u${{ env.DB_USER }} --database=osu_master; } 2>&1 | stdbuf -oL tr '\r' '\n'
|
||||||
|
{ pv -f *.sql | mysql --host ${{ env.DB_HOST }} -u${{ env.DB_USER }} --database=osu_pr; } 2>&1 | stdbuf -oL tr '\r' '\n'
|
||||||
|
|
||||||
# Run diffcalc
|
# Run diffcalc
|
||||||
- name: Run diffcalc (master)
|
- name: Run diffcalc (master)
|
||||||
|
Loading…
Reference in New Issue
Block a user