Skip to content

Commit

Permalink
Update CI scripts and fix wrong package source
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Oct 1, 2020
1 parent 525cc82 commit d98ccad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: build
on: push

env:
DOTNET_NOLOGO: true
MSBUILDDISABLENODEREUSE: 1

jobs:
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
release:
types: [created]

env:
DOTNET_NOLOGO: true
MSBUILDDISABLENODEREUSE: 1

jobs:
push:
runs-on: ubuntu-latest
Expand Down
4 changes: 1 addition & 3 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
<Nullable>enable</Nullable>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<DefaultItemExcludes>$(DefaultItemExcludes);*.binlog;*.zip</DefaultItemExcludes>

<RestoreSources>C:\Code\kzu\NuGetizer\bin;https://api.nuget.org/v3/index.json;$(RestoreSources)</RestoreSources>
</PropertyGroup>

<PropertyGroup Label="CI" Condition="'$(CI)' == ''">
Expand All @@ -33,7 +31,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NuGetizer" Version="42.42.42" />
<PackageReference Include="NuGetizer" Version="0.3.0" />
</ItemGroup>

<ItemGroup Label="Workaround for public packages not having the latest ISourceGenerator API changes">
Expand Down

0 comments on commit d98ccad

Please sign in to comment.