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

casion pushed a commit to branch dev-1.3.2-action
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git


The following commit(s) were added to refs/heads/dev-1.3.2-action by this push:
     new 5e9ea5879 publish-snapshot.yml
5e9ea5879 is described below

commit 5e9ea5879409a891c486c64ba2f1702f4f45de52
Author: casionone <[email protected]>
AuthorDate: Fri Dec 23 21:38:42 2022 +0800

    publish-snapshot.yml
---
 .github/workflows/publish-snapshot.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/publish-snapshot.yml 
b/.github/workflows/publish-snapshot.yml
index 9b36e10f0..5f886497d 100644
--- a/.github/workflows/publish-snapshot.yml
+++ b/.github/workflows/publish-snapshot.yml
@@ -30,7 +30,7 @@ jobs:
       fail-fast: false
       matrix:
         branch:
-          - dev-1.3.2
+          - dev-1.3.2-action
     steps:
       - name: Checkout repository
         uses: actions/checkout@v2
@@ -44,7 +44,7 @@ jobs:
 
       - name: Get Version
         run: |
-          BRANCE= ${{ matrix.branch }}
+          BRANCE="${{ matrix.branch }}"
           echo "::set-output name=version::${BRANCE#*-}-SNAPSHOT"
         id: get_version
 
@@ -53,5 +53,6 @@ jobs:
           ASF_USERNAME: ${{ secrets.NEXUS_USER }}
           ASF_PASSWORD: ${{ secrets.NEXUS_PW }}
         run: |
-          ./mvnw versions:set 
-DnewVersion={{steps.get_version.outputs.version}} -DgenerateBackupPoms=false
+          echo "${{steps.get_version.outputs.version}}"
+          ./mvnw versions:set -DnewVersion=1.3.2-SNAPSHOT 
-DgenerateBackupPoms=false
           ./mvnw deploy -s  ./.github/asf-settings.xml -Dmaven.test.skip=true 
-Dmaven.javadoc.skip=true  -DretryFailedDeploymentCount=10
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to