Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement](workflow) Optimize workflows #11145

Merged
merged 5 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restore build-extension.yml
  • Loading branch information
adonis0147 committed Jul 26, 2022
commit cf85a0d3fefcec9a986b9a97e1579d5c6ef33e8c
34 changes: 0 additions & 34 deletions .github/workflows/build-broker-noop.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/build-documents-noop.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/build-documents.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,14 @@
# under the License.
#
---
name: Build Broker
name: Build Extensions
on:
pull_request:
paths:
- 'fs_brokers/**'

concurrency:
group: ${{ github.head_ref || github.ref_name }} (Build Broker)
cancel-in-progress: true
push:

jobs:
build-broker:
name: "Build Broker"
build-extension:
name: "Build Extensions"
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -37,6 +32,11 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16.14.0

- name: Setup java
uses: actions/setup-java@v2
with:
Expand All @@ -54,3 +54,8 @@ jobs:
- name: Build broker
run: |
cd fs_brokers/apache_hdfs_broker/ && /bin/bash build.sh

- name: Build docs
run: |
cd docs && /bin/bash build_help_zip.sh && export NODE_OPTIONS="--max-old-space-size=8192" && npm install && npm run build