Skip to content

Commit

Permalink
add build parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Nov 24, 2024
1 parent d94f2d5 commit 962cf17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function run() {
checkSources.checkGoMod()

// Build
core.startGroup('Build')
core.startGroup('Build & test')
try {
for (const i in organization) {
process.env.GOPRIVATE = (process.env.GOPRIVATE ? process.env.GOPRIVATE + ',' : '') + `github.com/${organization[i]}/*`
Expand All @@ -104,7 +104,7 @@ async function run() {
await execute('go build ./...')
}

if (buildcmd === '') {
if (buildcmd !== '') {
await execute(buildcmd)
}
// run Codecov / test
Expand Down

0 comments on commit 962cf17

Please sign in to comment.