aaron-ai commented on code in PR #5118:
URL: https://github.com/apache/rocketmq/pull/5118#discussion_r974844419


##########
.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:
   Are secrets needed here?



-- 
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