Build and upload dmg on release (#852)

Summary:
We're no longer building this internally because it requires a Mac to build and we only use it in OSS.

Pull Request resolved: https://github.com/facebook/flipper/pull/852

Reviewed By: mweststrate

Differential Revision: D20250521

Pulled By: passy

fbshipit-source-id: c1691c62b2db3bc22cb0231040f593a35ec4f17e
This commit is contained in:
Pascal Hartig
2020-03-05 08:10:24 -08:00
committed by Facebook Github Bot
parent 52b907fa25
commit b923bcfdf1
2 changed files with 25 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
name: Publish Sample App name: Publish Android Sample App On Release
on: on:
release: release:

24
.github/workflows/dmg-release.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Publish DMG App On Release
on:
release:
types: [created]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Build
run: yarn build --mac --mac-dmg
- name: Upload
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'dist/Flipper-mac.dmg'