Skip to content

bump sqlproj to 0.1.9-preview #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
with:
submodules: true
- name: Deploy Database
uses: azure/sql-action@v1.3
uses: azure/sql-action@v2
with:
connection-string: ${{ secrets.AZURE_SQL_CONNECTION_STRING }}
project-file: './database/declarative-deploy/todo_v6/todo_v6.sqlproj'
path: './database/declarative-deploy/todo_v6/todo_v6.sqlproj'
action: 'publish'
build-arguments: '-c Release'
- name: Build And Deploy
id: builddeploy
Expand Down
Binary file added SlideDeck.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion database/declarative-deploy/azure-deploy-sql-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ else
fi

echo "Building .dacpac..."
dotnet build /p:NetCoreBuild=true todo_v6
dotnet build todo_v6

echo "Publishing .dacpac..."
sqlpackage /Action:Publish /SourceFile:./todo_v6/bin/Debug/todo_v6.dacpac /TargetConnectionString:"$ConnectionString"
Expand Down
2 changes: 1 addition & 1 deletion database/declarative-deploy/todo_v6/todo_v6.sqlproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build">
<Sdk Name="Microsoft.Build.Sql" Version="0.1.3-preview" />
<Sdk Name="Microsoft.Build.Sql" Version="0.1.9-preview" />
<PropertyGroup>
<Name>todo</Name>
<ProjectGuid>{532E54C9-E606-46A4-95E0-B37B4F67AB01}</ProjectGuid>
Expand Down