This commit is contained in:
Leandro Facchinetti 2021-09-04 13:36:10 +01:00
parent 009efefa02
commit aacc52098d
1 changed files with 3 additions and 3 deletions

View File

@ -6,16 +6,16 @@ jobs:
os: [windows, macos, ubuntu] os: [windows, macos, ubuntu]
include: include:
- os: windows - os: windows
build: npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "kill-the-newsletter--windows--${{ github.sha }}.exe" build: npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/distribution/index.js" --output "kill-the-newsletter--windows--${{ github.sha }}.exe"
artifact: kill-the-newsletter--windows--${{ github.sha }}.exe artifact: kill-the-newsletter--windows--${{ github.sha }}.exe
- os: macos - os: macos
build: | build: |
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "kill-the-newsletter" npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/distribution/index.js" --output "kill-the-newsletter"
tar -czf "kill-the-newsletter--macos--${{ github.sha }}.tgz" "kill-the-newsletter" tar -czf "kill-the-newsletter--macos--${{ github.sha }}.tgz" "kill-the-newsletter"
artifact: kill-the-newsletter--macos--${{ github.sha }}.tgz artifact: kill-the-newsletter--macos--${{ github.sha }}.tgz
- os: ubuntu - os: ubuntu
build: | build: |
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "kill-the-newsletter" npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/distribution/index.js" --output "kill-the-newsletter"
tar -czf "kill-the-newsletter--linux--${{ github.sha }}.tgz" "kill-the-newsletter" tar -czf "kill-the-newsletter--linux--${{ github.sha }}.tgz" "kill-the-newsletter"
artifact: kill-the-newsletter--linux--${{ github.sha }}.tgz artifact: kill-the-newsletter--linux--${{ github.sha }}.tgz
runs-on: ${{ matrix.os }}-latest runs-on: ${{ matrix.os }}-latest