You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by sh...@apache.org on 2024/03/06 13:15:39 UTC

(rocketmq-eventbridge) branch feat/1.1.0-actions created (now f1cb1b3)

This is an automated email from the ASF dual-hosted git repository.

shenlin pushed a change to branch feat/1.1.0-actions
in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git


      at f1cb1b3  feat:add build.yaml.

This branch includes the following new commits:

     new f1cb1b3  feat:add build.yaml.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(rocketmq-eventbridge) 01/01: feat:add build.yaml.

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shenlin pushed a commit to branch feat/1.1.0-actions
in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git

commit f1cb1b3f59e69ce4163fd4cdcd80408290f3e7c7
Author: 2011shenlin <20...@gmail.com>
AuthorDate: Wed Mar 6 21:15:16 2024 +0800

    feat:add build.yaml.
---
 .github/workflows/build.yaml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 0000000..2748056
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,30 @@
+name: Java CI with Maven
+
+on:
+  pull_request:
+    types: [ opened, reopened, synchronize ]
+  push:
+    branches:
+      - master
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v2
+
+      - name: Set up JDK 11
+        uses: actions/setup-java@v2
+        with:
+          java-version: '11'
+          distribution: 'adopt'
+
+      - name: Build with Maven
+        run: cd dist && mvn clean package
+
+      - name: Upload artifact
+        uses: actions/upload-artifact@v2
+        with:
+          name: executable-jar
+          path: target/*.jar
\ No newline at end of file