Skip to content

Commit

Permalink
Try to do it in one step with regex
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Feb 17, 2024
1 parent 2b39a1e commit e8e093c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/cypress.yml
Expand Up @@ -88,20 +88,9 @@ jobs:

- name: Replace mysqlDatabase (TFS 1.4)
uses: jacobtomlinson/gha-find-replace@v2
if: matrix.ots == 'tfs-1.4'
with:
find: 'mysqlDatabase = "forgottenserver"'
find: 'mysqlDatabase = "*"'
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
Expand Down

0 comments on commit e8e093c

Please sign in to comment.