Fix workflow syntax

This commit is contained in:
Bartek Fabiszewski 2022-03-19 19:59:49 +01:00
parent b769b94d7b
commit 1e233e5aa3

View File

@ -7,8 +7,7 @@ on:
branches: [ master ] branches: [ master ]
jobs: jobs:
unix-build: unix-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
defaults: defaults:
run: run:
@ -30,13 +29,13 @@ jobs:
db-driver: sqlite db-driver: sqlite
db-dsn: sqlite:/tmp/data/sqlite/ulogger.db db-dsn: sqlite:/tmp/data/sqlite/ulogger.db
docker-options: -p 8080:80 -v /tmp/data:/data docker-options: -p 8080:80 -v /tmp/data:/data
env:
DB_DSN: "${{ matrix.config.db-dsn }}"
DB_USER: ulogger
DB_PASS: secret2
ULOGGER_URL: "http://127.0.0.1:8080"
steps: steps:
env:
DB_DSN="${{ matrix.config.db-dsn }}"
DB_USER=ulogger
DB_PASS=secret2
ULOGGER_URL="http://127.0.0.1:8080"
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Prepare for docker - name: Prepare for docker
if: ${{ matrix.config.db-driver == 'sqlite' }} if: ${{ matrix.config.db-driver == 'sqlite' }}