From 93da623c4bfb51ddfdcd0ce3aa0834bcb0ced362 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Mon, 29 Apr 2024 14:14:01 -0700 Subject: [PATCH] in real github, actions do not have access to job.status --- action.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index 44b4856..f0c35a3 100644 --- a/action.yml +++ b/action.yml @@ -8,10 +8,9 @@ inputs: topic: description: 'Ntfy topic' required: true - # status: - # description: 'Job status. Use ${{ job.status }} for most cases' - # required: true - # default: '${{ job.status }}' + status: + description: 'Job status. Use ${{ job.status }} for most cases' + required: true user: description: 'Username for ntfy server' required: true # should be false, but we'll do authenticated sessions only for now @@ -22,4 +21,4 @@ runs: using: 'docker' image: 'Dockerfile' args: - - ${{ job.status }} + - ${{ inputs.status }}