Skip to content

Commit

Permalink
remove setOutput call
Browse files Browse the repository at this point in the history
  • Loading branch information
kengo-k committed Jun 1, 2024
1 parent f21ea97 commit bd3557e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions internal/get/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { format } from 'date-fns'
import { toZonedTime } from 'date-fns-tz'
import fs from 'fs'
import { load } from 'js-yaml'
import { z } from 'zod'

import { getInput, setFailed, setOutput } from '@actions/core'
import { getInput, setFailed } from '@actions/core'
import github from '@actions/github'
import { Octokit } from '@octokit/rest'

Expand Down Expand Up @@ -100,7 +101,13 @@ async function main() {
})
}
}
setOutput('build_args', JSON.stringify(outputs))

fs.writeFileSync(
process.env.GITHUB_OUTPUT,
`build_args=${JSON.stringify(outputs)}`,
{ encoding: 'utf8' },
)
//setOutput('build_args', JSON.stringify(outputs))
}

try {
Expand Down

0 comments on commit bd3557e

Please sign in to comment.