-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (48 loc) · 1.69 KB
/
store-test-reports.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Store test reports
concurrency: reports_store
on:
workflow_dispatch:
inputs:
store-reason:
description: Reason for which test reports should be stored.
required: true
repository:
description: Name of repository from which test reports should be fetched.
required: true
version:
description: Version of product which produced test reports.
required: true
workflow-run-id:
description: Workflow run identifier which contains test report artifacts.
required: true
jobs:
store-test-reports:
name: Download and store test reports.
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# This should be the same as the one specified for on.pull_request.branches
ref: master
- name: Checkout actions
uses: actions/checkout@v3
with:
repository: pubnub/client-engineering-deployment-tools
ref: v1
token: ${{ secrets.GH_TOKEN }}
path: .github/.release/actions
- name: Checkout specifications
uses: actions/checkout@v3
with:
repository: pubnub/sdk-specifications
token: ${{ secrets.GH_TOKEN }}
path: specifications
- name: Process reports store request
uses: ./.github/.release/actions/actions/test-reports/store
with:
token: ${{ secrets.GH_TOKEN }}
store-reason: ${{ github.event.inputs['store-reason'] }}
repository: ${{ github.event.inputs.repository }}
version: ${{ github.event.inputs.version }}
workflow-run-id: ${{ github.event.inputs['workflow-run-id'] }}