Bug Fix - Allow For Reruns of A Workflow by j-puri · Pull Request #128 · allure-framework/setup-allurectl

Description - Bug Fix

Currently, rerunning a workflow using this action results in the following error from the Allure servers:

Cannot upload results to a closed launch

This can be resolved by making the ALLURE_JOB_UID unique by appending the run_attempt of the workflow:

  core.exportVariable(
    'ALLURE_JOB_UID',
    `${owner}/${repo}/actions/workflows/${data.data.workflow_id}/${data.data.run_attempt}`
  )