diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 1e14c399..70b3028c 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -88,9 +88,20 @@ jobs: - name: Replace mysqlDatabase (TFS 1.4) uses: jacobtomlinson/gha-find-replace@v2 + if: matrix.ots == 'tfs-1.4' with: - find: 'mysqlDatabase = "*"' + find: 'mysqlDatabase = "forgottenserver"' replace: 'mysqlDatabase = "myaac"' + regex: false + include: 'ots/config.lua' + + - name: Replace mysqlDatabase (Canary) + uses: jacobtomlinson/gha-find-replace@v2 + if: matrix.ots == 'canary-3.1.2' + with: + find: 'mysqlDatabase = "otservbr-global"' + replace: 'mysqlDatabase = "myaac"' + regex: false include: 'ots/config.lua' - name: Setup PHP