Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
kengo-k committed Jun 1, 2024
1 parent ac2f829 commit 356b844
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions internal/get/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
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 } from '@actions/core'
import { getInput, setFailed, setOutput } from '@actions/core'
import github from '@actions/github'
import { Octokit } from '@octokit/rest'

Expand Down Expand Up @@ -102,12 +101,7 @@ async function main() {
}
}

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

try {
Expand Down

0 comments on commit 356b844

Please sign in to comment.