Skip to content

Commit

Permalink
Add expressions nuget from internal feed (Azure#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
majastrz authored Jul 31, 2020
1 parent e6aa614 commit afec55f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ jobs:
with:
dotnet-version: 3.1.301

- name: Update NuGet config
# workaround for bug in setup-dotnet action (the config samples for authenticated feeds don't work)
# encryption does not work on Linux or MacOS
run: dotnet nuget update source Official --username bicep --password ${{ secrets.MSAZURE_NUGET_AUTH }} --valid-authentication-types=basic --configfile ./NuGet.config --store-password-in-clear-text

- name: Build
run: dotnet build --configuration ${{ matrix.configuration }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: "CodeQL"

on:
workflow_dispatch:
push:
branches: [master, ]
pull_request:
#push:
# branches: [master, ]
#pull_request:
# The branches below must be a subset of the branches above
branches: [master]
# branches: [master]
schedule:
- cron: '0 4 * * 6'

Expand Down
8 changes: 8 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="Official" value="https://pkgs.dev.azure.com/msazure/_packaging/Official/nuget/v3/index.json" />
</packageSources>
</configuration>
1 change: 1 addition & 0 deletions src/Bicep.Core/Bicep.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Azure.ResourceManager.Deployments.Expression" Version="1.0.23" />
<PackageReference Include="JetBrains.Annotations" Version="2020.1.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit afec55f

Please sign in to comment.