Skip to content

Commit

Permalink
Merge pull request #43 from jecihjoy/module-deploy
Browse files Browse the repository at this point in the history
Setup build enviroment for package deployment
  • Loading branch information
RAJABIBRAZ authored Jan 3, 2024
2 parents a7c2955 + 61fbd86 commit 069625d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/mekom_cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ jobs:
needs: build

# Specify conditions for when this job should run
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}

# Set up enviroment for Publish

steps:
# Step 1: Set up JDK 8 for Publish
#set up the build enviroment
- name: Checkout Repository
uses: actions/checkout@v4
# Step 2: Set up JDK 8 for Publish
- name: Set up JDK 8 for Publish
uses: actions/setup-java@v4
with:
Expand All @@ -49,9 +52,6 @@ jobs:
server-id: mks-nexus
server-username: $MAVEN_USERNAME
server-password: $MAVEN_TOKEN

- name: Navigate to Project Directory
run: cd ${{ github.workspace }}

- name: Publish to Mekom repository
run: mvn -B deploy
Expand Down

0 comments on commit 069625d

Please sign in to comment.