From f6a9b6accfb53e329ce4ddc15f57eb70c2a821c8 Mon Sep 17 00:00:00 2001 From: Jongwoo Han Date: Wed, 7 Dec 2022 00:59:54 +0900 Subject: [PATCH 1/2] Use cache in check-dist.yml Signed-off-by: jongwooo --- .github/workflows/check-dist.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index a9a41bc1..4736bfdf 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -27,6 +27,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: 16.x + cache: npm - name: Install dependencies run: npm ci From 627cef3f3764759e961ae4e0788ea732c9b92e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Reinoso=20Garc=C3=ADa?= Date: Tue, 13 Dec 2022 15:31:07 +0100 Subject: [PATCH 2/2] fix print outputs step (#859) --- .github/workflows/stale.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index a6f78c1d..14b86b02 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -16,4 +16,4 @@ jobs: days-before-close: 5 exempt-issue-labels: 'blocked,must,should,keep' - name: Print outputs - run: echo ${{ join(steps.stale.outputs.*, ',') }} + run: echo ${{ format('{0},{1}', toJSON(steps.stale.outputs.staled-issues-prs), toJSON(steps.stale.outputs.closed-issues-prs)) }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6a6ccd55..d70fb5d5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,4 +25,4 @@ jobs: stale-pr-message: 'This PR is stale' debug-only: true - name: Print outputs - run: echo ${{ join(steps.stale.outputs.*, ',') }} + run: echo ${{ format('{0},{1}', toJSON(steps.stale.outputs.staled-issues-prs), toJSON(steps.stale.outputs.closed-issues-prs)) }}