Skip to content

Merge pull request #264 from test-results-reporter/release/v2.1.7-ver… #37

Merge pull request #264 from test-results-reporter/release/v2.1.7-ver…

Merge pull request #264 from test-results-reporter/release/v2.1.7-ver… #37

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: '18.x'
- run: npm install
- run: npm run build
- uses: vimtor/action-zip@v1
with:
files: dist/testbeats-linux
dest: dist/testbeats-linux.zip
- uses: vimtor/action-zip@v1
with:
files: dist/testbeats-macos
dest: dist/testbeats-macos.zip
- uses: vimtor/action-zip@v1
with:
files: dist/testbeats-win.exe
dest: dist/testbeats-win.exe.zip
- name: Upload release binaries
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["./dist/*zip"]'