Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 5fffbb8

Browse files
committed
Add output
1 parent 6cc7b6d commit 5fffbb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/checksize.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Build Docker image
1313
run: docker build . --file Dockerfile.dummy --build-arg NF_IMAGE_VERSION=$GITHUB_SHA -t netlify/build:$GITHUB_SHA
1414
- name: Check image size
15-
run: docker image inspect netlify/build:$GITHUB_SHA --format='{{.Size}}'
15+
run: echo "::set-output name=size::$(docker image inspect netlify/build:$GITHUB_SHA --format='{{.Size}}')"
1616
id: size
1717
- uses: LouisBrunner/checks-action@v1.1.1
1818
if: always()
@@ -21,4 +21,4 @@ jobs:
2121
name: Test XYZ
2222
conclusion: ${{ job.status }}
2323
output: |
24-
{"summary":${{ steps.size.outputs.summary }}}
24+
{"summary":"Size is ${{ steps.size.outputs.size }}"}

0 commit comments

Comments
 (0)