Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test cases with notify testers case #19

Merged
merged 1 commit into from
Aug 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Sample workflow for App Center action
on: [push]
on: [push, pull_request, workflow_dispatch]
jobs:
run:
runs-on: ubuntu-latest
Expand All @@ -8,26 +8,35 @@ jobs:
uses: actions/checkout@master
- name: Get sample .apk for test purposes
run: wget --output-document ApiDemos-debug.apk https://github.com/appium/appium/blob/906350fd335f9485376214fdd17c7cdb6c9ff26b/sample-code/apps/ApiDemos-debug.apk?raw=true
- name: Upload artefact with provided release notes
- name: Upload artifact with provided release notes
uses: ./
with:
appName: ${{secrets.APP_NAME}}
token: ${{secrets.API_TOKEN}}
group: Collaborators
file: ApiDemos-debug.apk
releaseNotes: New bugs
- name: Upload artefact with empty release notes
- name: Upload artifact with empty release notes
uses: ./
with:
appName: ${{secrets.APP_NAME}}
token: ${{secrets.API_TOKEN}}
group: Collaborators
file: ApiDemos-debug.apk
- name: Upload artefact with GIT generated release notes
- name: Upload artifact with Git generated release notes
uses: ./
with:
appName: ${{secrets.APP_NAME}}
token: ${{secrets.API_TOKEN}}
group: Collaborators
file: ApiDemos-debug.apk
gitReleaseNotes: true
- name: Upload artifact and notify testers
uses: ./
with:
appName: ${{secrets.APP_NAME}}
token: ${{secrets.API_TOKEN}}
group: Collaborators
file: ApiDemos-debug.apk
notifyTesters: true

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![Sample workflow for App Center action](https://github.com/wzieba/AppCenter-Github-Action/workflows/Sample%20workflow%20for%20App%20Center%20action/badge.svg?branch=master)
<a href="https://github.com/wzieba/AppCenter-Github-Action/releases">![](https://img.shields.io/github/v/release/wzieba/AppCenter-Github-Action)</a>

This action uploads artefacts (.apk or .ipa) to Visual Studio App Center.
This action uploads artifacts (.apk or .ipa) to Visual Studio App Center.

## Inputs

Expand All @@ -21,7 +21,7 @@ This action uploads artefacts (.apk or .ipa) to Visual Studio App Center.

### `file`

**Required** Artefact to upload (.apk or .ipa)
**Required** Artifact to upload (.apk or .ipa)

### `releaseNotes`

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- name: build release
run: ./gradlew assembleRelease
- name: upload artefact to App Center
uses: wzieba/AppCenter-Github-Action@v1.1.1
uses: wzieba/AppCenter-Github-Action@v1
with:
appName: wzieba/Sample-App
token: ${{secrets.APP_CENTER_TOKEN}}
Expand Down