You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by ch...@apache.org on 2026/08/21 05:36:17 UTC

(fory) branch main updated: ci: isolate Scala snapshot dependencies (#3957)

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

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git


The following commit(s) were added to refs/heads/main by this push:
     new b0b7cdac2 ci: isolate Scala snapshot dependencies (#3957)
b0b7cdac2 is described below

commit b0b7cdac2fae95aa5dc79eef4c9d6d4e3c6f8b64
Author: Shawn Yang <sh...@gmail.com>
AuthorDate: Fri Aug 21 13:36:12 2026 +0800

    ci: isolate Scala snapshot dependencies (#3957)
    
    ## Why?
    
    
    
    ## What does this PR do?
    
    
    
    ## Related issues
    
    
    
    ## AI Contribution Checklist
    
    
    
    - [ ] Substantial AI assistance was used in this PR: `yes` / `no`
    - [ ] If `yes`, I included a completed [AI Contribution
    Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs)
    in this PR description and the required `AI Usage Disclosure`.
    - [ ] If `yes`, my PR description includes the required `ai_review`
    summary and screenshot evidence or equivalent persisted links of the
    final clean AI review results from both fresh reviewers described in
    `AI_POLICY.md`, the Fory-guided reviewer and the independent general
    reviewer, on the current PR diff or current HEAD after the latest code
    changes.
    
    
    
    ## Does this PR introduce any user-facing change?
    
    
    
    - [ ] Does this PR introduce any public API change?
    - [ ] Does this PR introduce any binary protocol compatibility change?
    
    ## Benchmark
---
 .github/workflows/release-jvm-snapshot.yaml | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release-jvm-snapshot.yaml b/.github/workflows/release-jvm-snapshot.yaml
index ed6a65dbb..f8c04cc99 100644
--- a/.github/workflows/release-jvm-snapshot.yaml
+++ b/.github/workflows/release-jvm-snapshot.yaml
@@ -48,8 +48,22 @@ jobs:
       - uses: sbt/setup-sbt@8feba82adc7f01ddcf8165b86f778bdb5b82cebc # v1.5.7
         with:
           disk-cache: false
-      - name: Publish Java, Kotlin, and Scala snapshots
-        run: python ./ci/release.py publish_jvm --mode snapshot
+      - name: Publish Java and Kotlin snapshots
+        run: python ./ci/release.py publish_jvm -l java,kotlin --mode snapshot
         env:
           NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
           NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}
+      # Maven local is a cache and may contain POM-only dependencies. Deploy
+      # only the current Fory artifacts to a complete repository for Scala.
+      - name: Prepare Fory Java artifacts for Scala
+        working-directory: java
+        run: >-
+          mvn -T10 deploy --no-transfer-progress -DskipTests
+          -Dmaven.javadoc.skip=true -Dmaven.source.skip=true
+          -DaltDeploymentRepository=fory-local::default::file://${RUNNER_TEMP}/fory-maven-repo
+      - name: Publish Scala snapshots
+        run: python ./ci/release.py publish_jvm -l scala --mode snapshot
+        env:
+          NEXUS_USERNAME: ${{ secrets.NEXUS_USER }}
+          NEXUS_PASSWORD: ${{ secrets.NEXUS_PW }}
+          SBT_OPTS: -Dfory.maven.repo=file://${{ runner.temp }}/fory-maven-repo


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org