Skip to content

update demo

update demo #9

Workflow file for this run

name: Build
on:
pull_request:
branches:
- '*'
push:
branches:
- 'master'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'gradle'
- name: Run tests
run: ./gradlew test
- name: Copy History
uses: actions/checkout@v2
if: always()
with:
ref: gh-pages
path: gh-pages
- name: Build Report
uses: simple-elf/[email protected]
if: always()
with:
allure_results: build/allure-results
allure_history: allure-history
keep_reports: 20
- name: Publish Report
if: always()
uses: peaceiris/actions-gh-pages@v2
env:
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: allure-history