rzo1 opened a new pull request, #1120: URL: https://github.com/apache/opennlp/pull/1120
## What Runs the shell (bats/Pester) tests as a stage **after** the regular build in `maven.yml`, and removes the standalone `shell-tests.yml` workflow. ## Why Previously the distribution was built **9×** per run: 6 in `maven.yml` (3 OS × 2 JDK) plus 3 more in `shell-tests.yml` (one per OS), purely to produce the tarball the shell tests run against. The binary distribution is pure-Java and platform-independent, so it is now: 1. Built **once** in the `build` job (Ubuntu / JDK 21) and uploaded via `actions/upload-artifact`. 2. Downloaded by the per-OS shell-test jobs (`needs: build`) via `actions/download-artifact`, which then extract and run bats (Ubuntu/macOS) / Pester (Windows). This drops the 3 redundant Maven builds per run. ## ASF policy note `actions/upload-artifact` and `actions/download-artifact` are in the `actions/*` namespace, which is **automatically allowed** under the [ASF GitHub Actions policy](https://infra.apache.org/github-actions-policy.html) (alongside `apache/*` and `github/*`). No INFRA allowlist change is required. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
