telia-actions/Check artifact existence in JFrog
Checks if artifact exists in given repository by given search phrase. Outputs "True" or "False" in outputs "artifact_exists". Uses Powershell.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| jfrog-repo-name | Name of JFrog repository to search in. Search in JFrog is skipped if value is not provided. | no | — |
| jfrog-username | Deprecated. JFrog username to use for searching artifact. Should have READ permissions. Should be omitted if JFrog OIDC with GitHub is set. | no | — |
| jfrog-password | Deprecated. JFrog user password. Should be omitted if JFrog OIDC with GitHub is set. | no | — |
| search-phrase | Substring of artifact name, usually short GIT SHA. Can be multiple search phrases delimited by triple pipe sign ||| | yes | — |
| search-phrase-cleanup | Flag indicating if search-phrase input should be cleaned from spaces. Accepts "True" or "False" values. "True" by default | no | — |
| local-storage-path | Optional path of local (usually self-hosted) runner's directory where artifacts might be stored for faster access (instead of downloading from JFrog and extracting). Action continues with searching in JFrog if no matches found locally. | no | — |
Outputs
| name | description |
|---|---|
| artifact_exists | True if artifact exists, otherwise False |