Delete dmg-release.yml (#1655)

Summary:
No longer necessary as this is now taken care of by the new unified release Action.

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

Test Plan: Next release, I'm afraid.

Reviewed By: nikoant

Differential Revision: D24782070

Pulled By: passy

fbshipit-source-id: 36ce0db814ad60fa04e4ed81b3657323bc5c983b
This commit is contained in:
Pascal Hartig
2020-11-06 08:03:51 -08:00
committed by Facebook GitHub Bot
parent 2b0e93a063
commit 73f60c72dc

View File

@@ -1,46 +0,0 @@
name: Publish DMG App On Release
on:
release:
types: [created]
jobs:
build:
runs-on: macos-latest
env:
desktop-directory: ./desktop
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install
run: yarn
working-directory: ${{env.desktop-directory}}
- name: Build
run: yarn build --mac --mac-dmg
working-directory: ${{env.desktop-directory}}
- name: Upload
uses: actions/upload-artifact@v1
with:
name: 'Flipper-mac.dmg'
path: 'dist/Flipper-mac.dmg'
publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download
uses: actions/download-artifact@v1
with:
name: 'Flipper-mac.dmg'
path: 'Flipper-mac.dmg'
- name: GitHub Upload Release Artifacts
uses: Roang-zero1/github-upload-release-artifacts-action@v2.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: '*.dmg'