Skip to content

Merge pull request #138 from test-results-reporter/25-support-influxd… #11

Merge pull request #138 from test-results-reporter/25-support-influxd…

Merge pull request #138 from test-results-reporter/25-support-influxd… #11

Workflow file for this run

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"]'