in real github, actions do not have access to job.status

This commit is contained in:
Emil Lerch 2024-04-29 14:14:01 -07:00
parent e034844ea1
commit 93da623c4b
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -8,10 +8,9 @@ inputs:
topic: topic:
description: 'Ntfy topic' description: 'Ntfy topic'
required: true required: true
# status: status:
# description: 'Job status. Use ${{ job.status }} for most cases' description: 'Job status. Use ${{ job.status }} for most cases'
# required: true required: true
# default: '${{ job.status }}'
user: user:
description: 'Username for ntfy server' description: 'Username for ntfy server'
required: true # should be false, but we'll do authenticated sessions only for now required: true # should be false, but we'll do authenticated sessions only for now
@ -22,4 +21,4 @@ runs:
using: 'docker' using: 'docker'
image: 'Dockerfile' image: 'Dockerfile'
args: args:
- ${{ job.status }} - ${{ inputs.status }}