mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-22 01:22:02 +03:00
feat: silentFailure and outputs.failure
This commit is contained in:
parent
cab31617d8
commit
1f57fc5a0b
4 changed files with 22 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
name: 'Checkout'
|
||||
description: 'Checkout a Git repository at a particular version'
|
||||
inputs:
|
||||
inputs:
|
||||
repository:
|
||||
description: 'Repository name with owner. For example, actions/checkout'
|
||||
default: ${{ github.repository }}
|
||||
|
@ -23,6 +23,12 @@ inputs:
|
|||
lfs:
|
||||
description: 'Whether to download Git-LFS files'
|
||||
default: false
|
||||
silentFailure:
|
||||
description: 'Whether to silent failure'
|
||||
default: false
|
||||
outputs:
|
||||
failure:
|
||||
description: 'A boolean value to indicate if the checkout failed'
|
||||
runs:
|
||||
using: node12
|
||||
main: dist/index.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue