Skip to content

Conversation

@j-puri
Copy link

@j-puri j-puri commented Feb 16, 2023

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}`
  )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant