Skip to content

Merge branch 'main' into feature/allure-report #2

Merge branch 'main' into feature/allure-report

Merge branch 'main' into feature/allure-report #2

Workflow file for this run

name: allure-report
on:
workflow_call:
inputs:
artifact_name:
required: true
type: string
workflow:
required: true
type: string
jobs:
allure:
name: Generate Allure Report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

Check failure on line 19 in .github/workflows/Allure_Report.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/Allure_Report.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
- name: Get Allure history
uses: actions/checkout@v2
if: always()
continue-on-error: true
with:
ref: gh-pages
path: gh-pages
- uses: LexisNexis-Public-GHA/sbs-action-download-artifact@v2.13.1
with:
workflow: |
${{ inputs.workflow }}
name: |
${{ inputs.artifact_name }}
- name: Allure Report action from marketplace
uses: simple-elf/allure-report-action@master
if: always()
with:
allure_results: allure-results
allure_history: allure-history
keep_reports: 20
- name: Deploy report to Github Pages
if: always()
uses: peaceiris/actions-gh-pages@v2
env:
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: allure-history