From 3f9d611e7f14f98d380171b1d68c50ef8eb78780 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Wed, 5 Jun 2024 14:40:28 +0900 Subject: [PATCH] Clarify outputs in action.yml --- README.md | 2 +- action.yml | 6 ++++++ snapshots/README.md | 2 +- snapshots/run-9281068681/README.md | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3be5e86b..8e8fa64f 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ permissions: (Since v3.4.0) - `dump`\ - A file path for collected resources which keeps fields then logged.\ + A file path for collected resources which keeps fields than logged.\ This data is only provided for debugging purposes, so the schema is not defined. ## Examples diff --git a/action.yml b/action.yml index 3f983bb9..3caf6267 100644 --- a/action.yml +++ b/action.yml @@ -45,6 +45,12 @@ inputs: description: 'Avoid http requests for tests' required: false default: 'false' +outputs: + dump: + description: | + A file path for collected resources which keeps fields than logged. + This data is only provided for debugging purposes, so the schema is not defined. + runs: using: 'node20' main: 'dist/index.js' diff --git a/snapshots/README.md b/snapshots/README.md index 415e475c..ed309f6a 100644 --- a/snapshots/README.md +++ b/snapshots/README.md @@ -1,4 +1,4 @@ # How to get snapshot of resources -Since v3.4.0, we can use GITHUB_OUTPUT only in debug mode\ +Since v3.4.0, it dumps data and outputs the path\ See the section in [README](../README.md#outputsoutput_id) diff --git a/snapshots/run-9281068681/README.md b/snapshots/run-9281068681/README.md index 680ec0a7..17b30837 100644 --- a/snapshots/run-9281068681/README.md +++ b/snapshots/run-9281068681/README.md @@ -1,5 +1,7 @@ # How to extract checks from debug log +(This note is outdated) + Source: https://github.com/kachick/wait-other-jobs/actions/runs/9281068681 This file recorded snapshot checks for GH-820 in the debug log