Skip to content

Commit

Permalink
Merge pull request ytmdesktop#346 from MarshallOfSound/gh-actions
Browse files Browse the repository at this point in the history
🔨 add github actions CI
  • Loading branch information
adlerluiz authored Aug 27, 2020
2 parents 0739bd0 + 6e8849c commit c0cd1ac
Show file tree
Hide file tree
Showing 4 changed files with 3,855 additions and 4,842 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

on:
- push
- pull_request

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn --frozen-lockfile
- run: node ./script/build-current-platform.js
- uses: actions/upload-artifact@v2
with:
name: dist-merged
path: |
dist/*.dmg
dist/*.exe
dist/*.AppImage
dist/*.blockmap
dist/*.yml
- uses: actions/upload-artifact@v2
with:
name: dist-${{ matrix.os }}
path: |
dist/*.dmg
dist/*.exe
dist/*.AppImage
dist/*.blockmap
dist/*.yml
Loading

0 comments on commit c0cd1ac

Please sign in to comment.