Skip to content

Commit

Permalink
updated CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-dvsa committed May 6, 2024
1 parent 0f31a4f commit 3b5e575
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,17 @@ jobs:
- name: Build with Maven
run: |
mvn -B -P github package -file pom.xml
cat $GITHUB_WORKSPACE/settings.xml
# mkdir staging && cp target/*.jar staging
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_USER_REF: ${{ secrets.GH_PACKAGE_REPO_USERNAME }}
GITHUB_TOKEN_REF: ${{ secrets.GH_PACKAGE_REPO_PASSWORD }}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: Package
path: staging
# - name: upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: Package
# path: staging



Expand Down

0 comments on commit 3b5e575

Please sign in to comment.