tsunghanjacktsai commented on code in PR #5118:
URL: https://github.com/apache/rocketmq/pull/5118#discussion_r974859708


##########
.github/workflows/snapshot-automation.yml:
##########
@@ -0,0 +1,21 @@
+name: Snapshot Release Automation
+on:
+  schedule: # schedule the job to run at 12 a.m. daily
+    - cron: "0 0 * * *"
+jobs:
+  snapshot:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+        with:
+          ref: develop
+      - name: Setup JDK
+        uses: actions/setup-java@v2
+        with:
+          java-version: 8
+          distribution: "adopt"
+          cache: "maven"
+      - name: Deploy Snapshot
+        timeout-minutes: 40
+        run: mvn clean deploy -DskipTests=true'

Review Comment:
   Thinking the same here. But I'm not sure what types of secrets I should add. 
This would automatically deploy to the Apache repository. The closest one I've 
referred to is: https://github.com/apache/dubbo/blob/3.1/Jenkinsfile



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to