diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0ed6dc9..04070c2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -43,8 +43,8 @@ jobs: - name: Process goreleaser output id: process_goreleaser_output run: | - echo "const artifacts = ${{ steps.goreleaser.outputs.artifacts }}" > process.js - echo "const firstNonNullDigest = artifacts.find(artifact => artifact.extra && artifacts.extra.Digest != null)?.extra.Digest;" >> process.js + echo 'const artifacts = ${{ steps.goreleaser.outputs.artifacts }}' > process.js + echo "const firstNonNullDigest = artifacts.find(artifact => artifact.extra && artifact.extra.Digest != null)?.extra.Digest;" >> process.js echo "console.log(firstNonNullDigest);" >> process.js echo "fs.writeFileSync('digest.txt', firstNonNullDigest);" >> process.js node process.js