-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
executable file
·45 lines (45 loc) · 1.67 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "TestApp.io App Distribution"
description: "GitHub Action that uploads artifacts to TestApp.io App Distribution"
author: "Support <support@testapp.io>"
inputs:
api_token:
description: "API Token can be claimed from https://portal.testapp.io/settings/api-credentials"
required: true
app_id:
description: "App ID can be found from your app page in https://portal.testapp.io/apps"
required: true
file:
description: "Artifact to upload (.apk or .ipa)"
required: true
release_notes:
description: "Release notes will be visible for testers and will be on top of git release notes"
required: false
git_release_notes:
description: "Automatically collect the release notes from the last git commit message"
required: false
include_git_commit_id:
description: "Include the last git commit ID with the release notes"
required: false
notify:
description: "Send notificaitons to team members about this release"
required: false
branding:
color: "blue"
icon: "send"
runs:
using: "composite"
steps:
- run: curl -Ls https://github.com/testappio/cli/releases/latest/download/install | bash
shell: bash
- run: chmod +x ${{ github.action_path }}/entrypoint.sh
shell: bash
- run: sh ${{ github.action_path }}/entrypoint.sh
env:
INPUT_API_TOKEN: ${{ inputs.api_token }}
INPUT_APP_ID: ${{ inputs.app_id }}
INPUT_FILE: ${{ inputs.file }}
INPUT_RELEASE_NOTES: ${{ inputs.release_notes }}
INPUT_GIT_RELEASE_NOTES: ${{ inputs.git_release_notes }}
INPUT_INCLUDE_GIT_COMMIT_ID: ${{ inputs.include_git_commit_id }}
INPUT_NOTIFY: ${{ inputs.notify }}
shell: bash