Skip to content

Commit

Permalink
Merge branch 'master' into feature-21
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebel028 authored Dec 4, 2020
2 parents 9787e1e + 25a8dad commit a278dc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const SOURCE_NAME = "default";

class Action {


constructor() {
this.projectFile = process.env.INPUT_PROJECT_FILE_PATH
this.packageName = process.env.INPUT_PACKAGE_NAME || process.env.PACKAGE_NAME
Expand Down Expand Up @@ -76,7 +77,7 @@ class Action {
console.log(`NuGet Source: ${this.nugetSource}`)

fs.readdirSync(".").filter(fn => /\.s?nupkg$/.test(fn)).forEach(fn => fs.unlinkSync(fn))

this._executeInProcess(`dotnet build -c Release ${this.projectFile}`)

this._executeInProcess(`dotnet pack ${this.includeSymbols ? "--include-symbols -p:SymbolPackageFormat=snupkg" : ""} --no-build -c Release ${this.projectFile} -o .`)
Expand Down

0 comments on commit a278dc5

Please sign in to comment.