mirror of https://github.com/databricks/cli.git
Remove `JSON.parse` call from homebrew-tap action (#1393)
## Changes `needs.goreleaser.outputs.artifacts` already contains valid JS object so no need to make it a string and try to parse
This commit is contained in:
parent
5120e94302
commit
d99f2b808b
|
@ -84,7 +84,7 @@ jobs:
|
|||
with:
|
||||
github-token: ${{ secrets.DECO_GITHUB_TOKEN }}
|
||||
script: |
|
||||
let artifacts = JSON.parse('${{ needs.goreleaser.outputs.artifacts }}')
|
||||
let artifacts = ${{ needs.goreleaser.outputs.artifacts }}
|
||||
artifacts = artifacts.filter(a => a.type == "Archive")
|
||||
artifacts = new Map(
|
||||
artifacts.map(a => [
|
||||
|
|
Loading…
Reference in New Issue