-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
31 lines (31 loc) · 970 Bytes
/
action.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
name: "Aviator Test Uploader"
description: "Uploads JunitXML files to Aviator for processing."
branding:
color: yellow
icon: activity
inputs:
assets:
description: "File path of assets to upload"
required: true
aviator_api_token:
description: "The Aviator API token specific to your account."
required: true
assets_required:
description: "Whether assets should be required. If true, the action will fail if no test files are found."
required: false
default: "true"
runs:
using: "composite"
steps:
- name: Checkout upload action directory
uses: actions/checkout@v3
with:
repository: aviator-co/upload-action
path: upload-action
- name: Upload to Aviator
env:
ASSETS: ${{ inputs.assets }}
AVIATOR_API_TOKEN: ${{ inputs.aviator_api_token }}
ASSETS_REQUIRED: ${{ inputs.assets_required }}
run: bash ${GITHUB_WORKSPACE}/upload-action/upload.sh
shell: bash