Temporarily remove flipper-server release steps (#3291)
Summary: It's late Friday now and we still don't have a release out. Let's revert this once we've got one stable build out. Pull Request resolved: https://github.com/facebook/flipper/pull/3291 Reviewed By: fabiomassimo Differential Revision: D33584907 Pulled By: passy fbshipit-source-id: 1117a177c8eb12c7db69a53ad0bc949b53aaf04f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
024e4f6761
commit
8a3f48d7a4
42
.github/workflows/release.yml
vendored
42
.github/workflows/release.yml
vendored
@@ -141,40 +141,11 @@ jobs:
|
|||||||
name: 'Flipper-win.zip'
|
name: 'Flipper-win.zip'
|
||||||
path: 'dist/Flipper-win.zip'
|
path: 'dist/Flipper-win.zip'
|
||||||
|
|
||||||
build-flipper-server:
|
|
||||||
needs:
|
|
||||||
- release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
env:
|
|
||||||
desktop-directory: ./desktop
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
ref: ${{ needs.release.outputs.tag }}
|
|
||||||
- uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: '14.x'
|
|
||||||
- name: Install
|
|
||||||
uses: nick-invision/retry@v2.0.0
|
|
||||||
with:
|
|
||||||
timeout_minutes: 10
|
|
||||||
max_attempts: 3
|
|
||||||
command: cd ${{env.desktop-directory}} && yarn
|
|
||||||
- name: Build
|
|
||||||
run: cd ${{env.desktop-directory}} && yarn build:flipper-server
|
|
||||||
- name: Upload flipper-server
|
|
||||||
uses: actions/upload-artifact@v1
|
|
||||||
with:
|
|
||||||
name: 'flipper-server.tgz'
|
|
||||||
path: 'dist/flipper-server.tgz'
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs:
|
needs:
|
||||||
- build-win
|
- build-win
|
||||||
- build-linux
|
- build-linux
|
||||||
- build-mac
|
- build-mac
|
||||||
- build-flipper-server
|
|
||||||
- release
|
- release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@@ -197,12 +168,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: 'Flipper-win.zip'
|
name: 'Flipper-win.zip'
|
||||||
path: 'Flipper-win.zip'
|
path: 'Flipper-win.zip'
|
||||||
- name: Download Flipper Server
|
|
||||||
if: ${{ needs.release.outputs.tag != '' }}
|
|
||||||
uses: actions/download-artifact@v1
|
|
||||||
with:
|
|
||||||
name: 'flipper-server.tgz'
|
|
||||||
path: 'flipper-server.tgz'
|
|
||||||
- name: GitHub Upload Release Artifacts
|
- name: GitHub Upload Release Artifacts
|
||||||
if: ${{ needs.release.outputs.tag != '' }}
|
if: ${{ needs.release.outputs.tag != '' }}
|
||||||
uses: passy/github-upload-release-artifacts-action@v2.2.2
|
uses: passy/github-upload-release-artifacts-action@v2.2.2
|
||||||
@@ -210,14 +175,9 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
created_tag: ${{ needs.release.outputs.tag }}
|
created_tag: ${{ needs.release.outputs.tag }}
|
||||||
args: Flipper-mac.dmg/Flipper-mac.dmg Flipper-linux.zip/Flipper-linux.zip Flipper-win.zip/Flipper-win.zip flipper-server.tgz/flipper-server.tgz
|
args: Flipper-mac.dmg/Flipper-mac.dmg Flipper-linux.zip/Flipper-linux.zip Flipper-win.zip/Flipper-win.zip
|
||||||
- name: Set up npm token
|
- name: Set up npm token
|
||||||
run: echo "//registry.yarnpkg.com/:_authToken=${{ secrets.FLIPPER_NPM_TOKEN }}" >> ~/.npmrc
|
run: echo "//registry.yarnpkg.com/:_authToken=${{ secrets.FLIPPER_NPM_TOKEN }}" >> ~/.npmrc
|
||||||
- name: Publish flipper-server on NPM
|
|
||||||
run: |
|
|
||||||
tar zxvf flipper-server.tgz
|
|
||||||
cd package
|
|
||||||
yarn publish
|
|
||||||
- name: Open issue on failure
|
- name: Open issue on failure
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: JasonEtco/create-an-issue@v2.4.0
|
uses: JasonEtco/create-an-issue@v2.4.0
|
||||||
|
|||||||
Reference in New Issue
Block a user