Upload Pipeline v2 #63
Workflow file for this run
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
name: SQL | |
on: | |
push: | |
branches: | |
- "6.0" | |
- master | |
paths: | |
- wcfsetup/setup/db/install.sql | |
pull_request: | |
paths: | |
- wcfsetup/setup/db/install.sql | |
jobs: | |
syntax: | |
name: "Check install.sql" | |
runs-on: ubuntu-latest | |
steps: | |
- run: sudo service mysql start | |
- run: mysqladmin -uroot -proot create test | |
- uses: actions/checkout@v4 | |
- run: | | |
cat wcfsetup/setup/db/install.sql |mysql -uroot -proot -Dtest |