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:
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 }}