Skip to content

Commit

Permalink
Update publish-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinthakaJ98 authored Jan 2, 2025
1 parent 62fa46c commit f2af519
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,30 +43,14 @@ jobs:
- name: Download wso2-jsmpp JAR
run: |
curl -L -o wso2-jsmpp-3.0.0-wso2v3.jar https://github.com/wso2/wso2-jsmpp/releases/download/3.0.0-wso2v3/jsmpp-3.0.0-wso2v3.jar
- name: Install wso2-jsmpp to Maven Local
run: |
mvn install:install-file \
-Dfile=wso2-jsmpp-3.0.0-wso2v3.jar \
-DgroupId=org.wso2 \
-DartifactId=wso2-jsmpp \
-Dversion=3.0.0-wso2v3 \
-Dpackaging=jar
- name: Install wso2-jsmpp to Maven Local New
run: |
mvn install:install-file \
-Dfile=wso2-jsmpp-3.0.0-wso2v3.jar \
-DgroupId=org.jsmpp \
-DartifactId=jsmpp \
-Dversion=3.0.0-wso2v3 \
-Dpackaging=jar
- name: Verify local Maven repository
run: |
ls -l ~/.m2/repository/org/wso2/wso2-jsmpp/3.0.0-wso2v3/
- name: Copy wso2-jsmpp to jsmpp
run: |
mkdir -p ~/.m2/repository/org/jsmpp/jsmpp/3.0.0-wso2v3/
cp -r ~/.m2/repository/org/wso2/wso2-jsmpp/3.0.0-wso2v3/* ~/.m2/repository/org/jsmpp/jsmpp/3.0.0-wso2v3/
- name: Build artifacts
run: |
mvn clean install
Expand Down

0 comments on commit f2af519

Please sign in to comment.