Skip to content

Commit c50859c

Browse files
author
Nikita Filonov
committed
Initial commit
1 parent eec972d commit c50859c

File tree

1 file changed

+10
-18
lines changed

1 file changed

+10
-18
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414

1515
steps:
1616
- name: Check out repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
22-
python-version: '3.11'
22+
python-version: '3.12'
2323

2424
- name: Install dependencies
2525
run: |
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- name: Check out repository
46-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
4747
with:
4848
ref: gh-pages
4949
path: gh-pages
@@ -54,25 +54,17 @@ jobs:
5454
name: allure-results
5555
path: allure-results
5656

57-
- name: Get Allure history
58-
uses: actions/checkout@v3
59-
if: always()
60-
continue-on-error: true
61-
with:
62-
ref: gh-pages
63-
path: gh-pages
64-
6557
- name: Allure Report action from marketplace
66-
uses: simple-elf/allure-report-action@v1.7
58+
uses: simple-elf/allure-report-action@v1.12
6759
if: always()
6860
with:
6961
allure_results: allure-results
7062
allure_history: allure-history
7163

7264
- name: Deploy report to Github Pages
7365
if: always()
74-
uses: peaceiris/actions-gh-pages@v2
75-
env:
76-
PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77-
PUBLISH_BRANCH: gh-pages
78-
PUBLISH_DIR: allure-history
66+
uses: peaceiris/actions-gh-pages@v4
67+
with:
68+
github_token: ${{ secrets.GITHUB_TOKEN }}
69+
publish_branch: gh-pages
70+
publish_dir: allure-history

0 commit comments

Comments
 (0)