This repository was archived by the owner on Feb 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Original file line number Diff line number Diff line change 5252 - name : Run jdk8 serverless runtime test
5353 run : |
5454 set -e
55- bash samples/ccbin/start.sh jdk8
55+ bash samples/ccbin/start.sh jdk8
56+
57+ release_for_jdk8 :
58+ needs : build_and_test
59+ runs-on : ubuntu-latest
60+ steps :
61+ - uses : actions/checkout@v3
62+ - name : Set up JDK 8
63+ uses : actions/setup-java@v3
64+ with :
65+ java-version : ' 8'
66+ distribution : ' temurin'
67+ cache : maven
68+ server-id : ossrh
69+ server-username : MAVEN_USERNAME
70+ server-password : MAVEN_PASSWORD
71+ gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
72+ gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
73+ - name : Build with Maven
74+ run : mvn --batch-mode deploy -DskipTests -Prelease
75+ working-directory : sofa-serverless-runtime
76+ env :
77+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
78+ MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
79+ MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change 5252 - name : Run jdk8 serverless runtime test
5353 run : |
5454 set -e
55- bash .github/workflows/ccbin/start.sh jdk8
55+ bash .github/workflows/ccbin/start.sh jdk8
56+ release_for_jdk8 :
57+ needs : build_and_test
58+ runs-on : ubuntu-latest
59+ steps :
60+ - uses : actions/checkout@v3
61+ - name : Set up JDK 8
62+ uses : actions/setup-java@v3
63+ with :
64+ java-version : ' 8'
65+ distribution : ' temurin'
66+ cache : maven
67+ server-id : ossrh
68+ server-username : MAVEN_USERNAME
69+ server-password : MAVEN_PASSWORD
70+ gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
71+ gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
72+ - name : Build with Maven
73+ run : mvn --batch-mode deploy -DskipTests -Psnapshot,8-snapshot
74+ working-directory : sofa-serverless-runtime
75+ env :
76+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
77+ MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
78+ MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments