Single file reporting fork of https://github.com/simple-elf/allure-report-action
Since Allure --single-file reporting does not yet support history, this is a much simpler version of the original action that only generates a single report file. All history-related functionality has been removed.
This action uses Ubuntu runners with Java 8 (Temurin distribution) and automatically downloads and installs the Allure CLI. The Allure binary path is exposed as $ALLURE_BIN for use in subsequent workflow steps.
- name: Generate Allure report
uses: jcleigh/allure-single-file-report-action@v1
with:
allure_results: allure-results
allure_report: allure-reportRequired The relative path to the Allure results directory.
Default: allure-results
Required The relative path to the directory where Allure will write the generated report.
Default: allure-report
This action is implemented as a composite action that:
- Sets up Java 8 using the official
actions/setup-javaaction with Temurin distribution - Downloads and installs Allure CLI version 2.27.0 via wget/tar
- Exposes the Allure binary path as
$ALLURE_BINenvironment variable for subsequent workflow steps - Generates a single-file Allure report from the test results
The action runs on Ubuntu runners and does not depend on Docker images.
This version migrates from a Docker-based action to a composite action. The Dockerfile and entrypoint.sh files have been removed.
Good news: If you're already using this action, no changes are required to your workflow files. The action interface (inputs/outputs) remains the same, but it now runs directly on the Ubuntu runner instead of in a Docker container, providing better performance.