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:
committed by
Facebook Github Bot
parent
52b907fa25
commit
b923bcfdf1
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Publish Sample App
|
||||
name: Publish Android Sample App On Release
|
||||
|
||||
on:
|
||||
release:
|
||||
|
||||
24
.github/workflows/dmg-release.yml
vendored
Normal file
24
.github/workflows/dmg-release.yml
vendored
Normal 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'
|
||||
Reference in New Issue
Block a user