mirror of
https://github.com/Eugeny/tabby
synced 2024-12-13 23:02:41 +00:00
41 lines
917 B
YAML
41 lines
917 B
YAML
name: macOS Build
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
runs-on: macOS-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Installing Node
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
version: 10
|
|
|
|
- name: Build
|
|
run: build/travis.sh
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
BT_TOKEN: ${{ secrets.BT_TOKEN }}
|
|
CSC_LINK: ${{ secrets.CSC_LINK }}
|
|
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
|
|
|
|
- name: Package artifacts
|
|
run: |
|
|
mkdir artifact-pkg
|
|
mv dist/*.pkg artifact-pkg/
|
|
mkdir artifact-zip
|
|
mv dist/*.zip artifact-zip/
|
|
|
|
- uses: actions/upload-artifact@master
|
|
name: Upload PKG
|
|
with:
|
|
name: macOS .pkg
|
|
path: artifact-pkg
|
|
|
|
- uses: actions/upload-artifact@master
|
|
name: Upload ZIP
|
|
with:
|
|
name: macOS .zip
|
|
path: artifact-zip
|