Skip to content

Commit

Permalink
fix ignore build
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Nov 17, 2024
1 parent a624120 commit 441c6be
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17335,7 +17335,7 @@ async function run() {
const ignore = getInputAsArray('ignore')
const organization = getInputAsArray('organization')
const token = core.getInput('token')
const codecovToken = core.getInput('codecov-token') === ''
const codecovToken = core.getInput('codecov-token')
const codecovGoRace = core.getInput ('codecov-go-race') === 'true'
const publishAsset = core.getInput('publish-asset')
const publishToken = core.getInput('publish-token')
Expand Down Expand Up @@ -17408,7 +17408,7 @@ async function run() {
await execute('cd ' + testfolder)
}

if (ignoreRunBuild !== "true") {
if (!ignoreRunBuild) {
await execute('go build ./...')
}

Expand All @@ -17417,7 +17417,8 @@ async function run() {
}

// run Codecov / test
if (codecovToken !== "") {
core.info(codecovToken)
if ( codecovToken.length > 0 ) {
core.startGroup('Codecov')
await execute('go install github.com/heeus/gocov@latest')
let tststr=''
Expand Down

0 comments on commit 441c6be

Please sign in to comment.