Skip to content

Commit

Permalink
Update updateVersion.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jagankumar-egov authored Jan 10, 2024
1 parent 6268960 commit c2b9c58
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/updateVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@ jobs:
env:
SOURCE_JSON_FILE: "micro-ui/web/micro-ui-internals/example/package.json"
DESTIN_JSON_FILE: "micro-ui/web/package.json"
TARGET_BRANCH: "test-action" # Change this to your desired branch name
TARGET_BRANCH: "test-action"

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Fetch and merge changes from the remote repository
run: |
git fetch origin
git pull origin "$TARGET_BRANCH"
- name: Install jq
run: sudo apt-get install jq

Expand Down Expand Up @@ -71,6 +76,3 @@ jobs:
echo "Dependency not found in $SOURCE_JSON_FILE"
echo "VERSION_CHANGED=false" >> $GITHUB_ENV
fi

0 comments on commit c2b9c58

Please sign in to comment.