Skip to content

Commit d6892be

Browse files
authored
fix(workflow): 🐛 fixed miscellaneous issues in workflows (#165)
1 parent 1560f13 commit d6892be

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Get the previous release version
4141
id: old_version
4242
run: |
43-
export MVN_OLD_VERSION=$(node -pe "require('./website/package.json').version")
43+
export MVN_OLD_VERSION=$(git describe --tags --abbrev=0)
4444
echo "::set-output name=previous_version::$MVN_OLD_VERSION"
4545
4646
- name: Update pre-release version

.github/workflows/test-core.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
pull_request:
55
branches:
66
- develop
7-
- staging
8-
- main
97
paths:
108
- 'core-java/**'
119
- '.github/**'

0 commit comments

Comments
 (0)