Skip to content

Commit 5c45c01

Browse files
committed
build action
1 parent b54b078 commit 5c45c01

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build-sbm-support-rewrite.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,15 @@ jobs:
3434
JF_ARTIFACTORY_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
3535
MAVEN_REPO_ID: repo.spring.io
3636
MAVEN_REPO_URL: https://repo.spring.io/libs-snapshot-local
37+
# This command adds a new server configuration to the JFrog CLI
38+
- run: |
39+
export SERVER_ID="repo.spring.io"
40+
jf c add $SERVER_ID --url=https://repo.spring.io/libs-snapshot-local --access-token=${{ secrets.JF_ARTIFACTORY_SPRING }} --interactive=false
41+
3742
- name: Deploy to Artifactory
3843
run: |
3944
jfrog mvnc \
40-
--server-id-deploy repo.spring.io \
45+
--server-id-deploy $SERVER_ID \
4146
--repo-deploy-releases release \
4247
--repo-deploy-snapshots snapshot
4348
echo JFROG_CLI_BUILD_NAME=sbm-support-rewrite >> $GITHUB_ENV

sbm-support-rewrite/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,4 +468,4 @@ limitations under the License.
468468
</distributionManagement>
469469
</profile>
470470
</profiles>
471-
</project>
471+
</project>

0 commit comments

Comments
 (0)