Merge pull request #138 from test-results-reporter/25-support-influxd… #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload Assets | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Setup .npmrc file to publish to npm | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '12.x' | |
- run: npm install | |
- run: npm run build | |
- uses: vimtor/action-zip@v1 | |
with: | |
files: dist/test-results-reporter-linux | |
dest: dist/test-results-reporter-linux.zip | |
- uses: vimtor/action-zip@v1 | |
with: | |
files: dist/test-results-reporter-macos | |
dest: dist/test-results-reporter-macos.zip | |
- uses: vimtor/action-zip@v1 | |
with: | |
files: dist/test-results-reporter-win.exe | |
dest: dist/test-results-reporter-win.exe.zip | |
- name: Upload release binaries | |
uses: alexellis/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
asset_paths: '["./dist/*zip"]' |