A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
update github action
aichy1263e036d4022d3
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.ymlnew file mode 100644index 00000000..06864a31--- /dev/null+++ b/.github/workflows/build_test.yml@@ -0,0 +1,46 @@+name: Build Test++on:+ push:+ branches:+ - 'dev'+ - 'dev/**'+ - 'githubaction'+ pull_request:+ branches:+ - 'dev'+ - 'dev/**'+ - 'githubaction'++jobs:+ node-build-test:+ name: Node Build Test+ runs-on: [self-hosted, linux]+ steps:+ - name: Checkout+ uses: actions/checkout@v3++ - name: Set up Go+ uses: actions/setup-node@v3+ with:+ node-version: 16++ - name: Test Build+ run: make install-ui-packages ui++ go-build-test:+ name: Go Build Test+ runs-on: [self-hosted, linux]+ needs:+ - node-build-test+ steps:+ - name: Checkout+ uses: actions/checkout@v3++ - name: Set up Go+ uses: actions/setup-go@v3+ with:+ go-version: 1.18++ - name: Go Test Build+ run: make clean builddiff --git a/.github/workflows/go_build_test.yml b/.github/workflows/go_build_test.ymldeleted file mode 100644index aaac41ef..00000000--- a/.github/workflows/go_build_test.yml+++ /dev/null@@ -1,22 +0,0 @@-name: Go Build Test--on:- pull_request:- branches: [ "main" ]---jobs:- go-build-test:- runs-on: [self-hosted, linux]-- steps:- - name: Checkout- uses: actions/checkout@v3-- - name: Set up Go- uses: actions/setup-go@v3- with:- go-version: 1.18-- - name: Go Test Build- run: make clean builddiff --git a/.github/workflows/node_build_test.yml b/.github/workflows/node_build_test.ymldeleted file mode 100644index 202a263b..00000000--- a/.github/workflows/node_build_test.yml+++ /dev/null@@ -1,20 +0,0 @@-name: Node Build Test--on:- pull_request:- branches: [ "main" ]--jobs:- node-build-test:- runs-on: [self-hosted, linux]- steps:- - name: Checkout- uses: actions/checkout@v3-- - name: Set up Go- uses: actions/setup-node@v3- with:- node-version: 16-- - name: Test Build- run: make install-ui-packages ui