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 <[email protected]> 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
