File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 3030
3131 env :
3232 GITHUB_TOKEN : ${{ github.token }}
33+ ISC_USER : SYSDBA
34+ ISC_PASSWORD : masterkey
3335
3436 steps :
3537 - uses : actions/checkout@v4
@@ -59,14 +61,13 @@ jobs:
5961
6062 - name : Configure and start Firebird
6163 run : |
62- # Initialize SYSDBA in security database via embedded connection (no server needed)
63- $tempDb = Join-Path $env:FB_PATH 'temp_init.fdb'
64- New-FirebirdDatabase -Database $tempDb -Environment $env:FB_PATH
65- "CREATE OR ALTER USER SYSDBA PASSWORD 'masterkey';" | Invoke-FirebirdIsql -Database $tempDb -Environment $env:FB_PATH
66- Remove-Item $tempDb -Force
6764 # Configure RemoteAuxPort for Firebird events support
6865 $confPath = Join-Path $env:FB_PATH 'firebird.conf'
6966 Write-FirebirdConfiguration -Path $confPath -Configuration @{ RemoteAuxPort = 3051 }
67+ # Initialize SYSDBA via embedded connection (ISC_USER/ISC_PASSWORD env vars are set at job level)
68+ $initDb = New-FirebirdDatabase -Database (Join-Path $env:FB_PATH 'init.fdb') -Environment $env:FB_PATH
69+ "CREATE USER SYSDBA PASSWORD 'masterkey';" | Invoke-FirebirdIsql -Database $initDb -Environment $env:FB_PATH
70+ Remove-FirebirdDatabase -Database $initDb -Force
7071 # Start Firebird server
7172 Start-FirebirdInstance -Environment $env:FB_PATH | Write-Output
7273
You can’t perform that action at this time.
0 commit comments