Skip to content

Commit

Permalink
add testNamePrefix
Browse files Browse the repository at this point in the history
Update README

Add

Rebuild dist/index.js
  • Loading branch information
dmitri-zganiaiko committed Mar 5, 2020
1 parent 92f534e commit d667b96
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 14 deletions.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
# Update Jira Ticket fix version

## Set up

## Usage
```bash
npm install
```

## Usage

In GitHub actions:

```
- name: Upload unit test results
uses: bolteu/[email protected]
if: failure()
with:
service-json: ${{ secrets.FIREBASE_STORAGE_JSON_KEY }}
github-token: ${{secrets.GITHUB_TOKEN}}
bucketName: "ios-ui-tests"
bucketFolder: "client"
directoryPath: "fastlane/test_output/test_result.xcresult"
testNamePrefix: "Unit"
```

After any change you have to rebuild `dist/index.js` before commit:

```bash
npm run build
```
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ inputs:
directoryPath:
description: "Path to a directory to be uploaded"
required: true
testNamePrefix:
description: "Prefix for test name"
required: true
runs:
using: "node12"
main: "dist/index.js"
Loading

0 comments on commit d667b96

Please sign in to comment.