We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents abc7161 + 5dd1647 commit e362433Copy full SHA for e362433
.github/workflows/upload-artifacts-to-maven-central.yml
@@ -32,10 +32,18 @@ jobs:
32
git config --global user.name 'embrace-ci[bot]'
33
git config --global user.email 'embrace-ci@users.noreply.github.com'
34
35
+ - name: Extract base version (major.minor.0)
36
+ id: base_version
37
+ env:
38
+ RC_VERSION: ${{ inputs.rc_version }}
39
+ run: |
40
+ base_version=$(echo "$RC_VERSION" | cut -d. -f1,2).0
41
+ echo "base_version=$base_version" >> $GITHUB_OUTPUT
42
+
43
- name: Checkout
44
uses: actions/checkout@v4
45
with:
- ref: release/${{ inputs.rc_version }}
46
+ ref: release/${{ steps.base_version.outputs.base_version }}
47
persist-credentials: true
48
49
- name: Setup Java
0 commit comments