Skip to content

chore: compress attachments (#257) #36

chore: compress attachments (#257)

chore: compress attachments (#257) #36

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