apache / apache/maven-gh-actions-shared

Error when evaluating 'strategy' for job 'verify'. apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5 (

Open
#284 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
9
Forks
14
Avg merge
23h 2m
Merged PRs (30d)
8

Description

### Bug description

The following error is emitted when using `apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5`

```
Error when evaluating 'strategy' for job 'verify'. apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5 (Line: 367, Col: 16): Error from function 'fromJSON': empty input, apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5 (Line: 367, Col: 16): Unexpected value '', apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5 (Line: 369, Col: 18): Error from function 'fromJSON': empty input, apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5 (Line: 369, Col: 18): Unexpected value ''
```

(for example in https://github.com/apache/maven-resolver/actions/runs/29639675830). The job is called with these parameters:

https://github.com/apache/maven-resolver/blob/dbaf30986168a4c66700193fba7b80b651a84445/.github/workflows/maven-verify.yml#L25-L33

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with .github/workflows/maven-verify.yml around lines 367 and 369, then compare the calling workflow in maven-resolver at lines 25-33. Reproduce the failure using the referenced GitHub Actions run and verify that the verify job no longer receives empty inputs for fromJSON when the reported parameters are used.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, java
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.