mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 16:08:38 +00:00
Fix missing slash
This commit is contained in:
parent
1f38420957
commit
4ae3ecb1fb
1 changed files with 7 additions and 7 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -12,9 +12,9 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- { prettyName: Windows, fullName: windows-latest }
|
- { prettyName: Windows, fullName: windows-latest, database: false }
|
||||||
- { prettyName: macOS, fullName: macos-latest }
|
- { prettyName: macOS, fullName: macos-latest, database: false }
|
||||||
- { prettyName: Linux, fullName: ubuntu-latest }
|
- { prettyName: Linux, fullName: ubuntu-latest, database: true }
|
||||||
|
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
|
@ -37,11 +37,11 @@ jobs:
|
||||||
run: dotnet build -c Debug
|
run: dotnet build -c Debug
|
||||||
|
|
||||||
- name: Make sure the default MySQL service is stopped
|
- name: Make sure the default MySQL service is stopped
|
||||||
if: ${{ matrix.os.prettyName == 'Linux' }}
|
if: ${{ matrix.os.database == 'true' }}
|
||||||
run: sudo service mysql stop
|
run: sudo service mysql stop
|
||||||
|
|
||||||
- name: Set up MySQL
|
- name: Set up MySQL
|
||||||
if: ${{ matrix.os.prettyName == 'Linux' }}
|
if: ${{ matrix.os.database == 'true' }}
|
||||||
uses: mirromutth/mysql-action@v1.1
|
uses: mirromutth/mysql-action@v1.1
|
||||||
with:
|
with:
|
||||||
mysql database: 'lighthouse'
|
mysql database: 'lighthouse'
|
||||||
|
@ -49,8 +49,8 @@ jobs:
|
||||||
mysql password: 'lighthouse'
|
mysql password: 'lighthouse'
|
||||||
|
|
||||||
- name: Run database migrations
|
- name: Run database migrations
|
||||||
if: ${{ matrix.os.prettyName == 'Linux' }}
|
if: ${{ matrix.os.database == 'true' }}
|
||||||
run: mysql -B -u lighthouse -p lighthouse lighthouse < <(cat DatabaseMigations*.sql)
|
run: mysql -B -u lighthouse -p lighthouse lighthouse < <(cat DatabaseMigations/*.sql)
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue