-
Notifications
You must be signed in to change notification settings - Fork 5
executable file
·39 lines (37 loc) · 1.3 KB
/
main.yml
File metadata and controls
executable file
·39 lines (37 loc) · 1.3 KB
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
name: Workflow to upload apk and ipa to TestApp.io app distribution
on: [push, pull_request, workflow_dispatch]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get sample .apk for test purposes
run: wget https://github.com/testappio/cli/raw/main/sample-apps/sample-app.apk
- name: Upload .apk artifact to TestApp.io app distribution
uses: ./
with:
api_token: ${{secrets.TESTAPPIO_API_TOKEN}}
app_id: ${{secrets.TESTAPPIO_APP_ID}}
file: sample-app.apk
git_release_notes: true
include_git_commit_id: true
release_notes: ""
notify: true
macos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get sample .ipa for test purposes
run: wget https://github.com/testappio/cli/raw/main/sample-apps/sample-app.ipa
- name: Upload .ipa artifact to TestApp.io app distribution
uses: ./
with:
api_token: ${{secrets.TESTAPPIO_API_TOKEN}}
app_id: ${{secrets.TESTAPPIO_APP_ID}}
file: sample-app.ipa
git_release_notes: false
include_git_commit_id: false
release_notes: "my release notes here..."
notify: true