Skip to content

small chang

small chang #13

Workflow file for this run

name: Deploy Database
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.0.x'
- name: Restore dependencies
working-directory: db-deploy
run: dotnet restore
- name: Deploy
working-directory: db-deploy
env:
ConnectionString: ${{ secrets.AZURE_SQL_CONNECTION_STRING }}
run: dotnet run
Test:
runs-on: ubuntu-latest
needs: [Deploy]
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '5.0.x

Check failure on line 34 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
- name: Restore dependencies
working-directory: db-test
run: dotnet restore
- name: Run Tests
working-directory: db-test
env:
ConnectionString: ${{ secrets.AZURE_SQL_CONNECTION_STRING }}
run: dotnet test