Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Commit 8d19ddc

Browse files
committed
Fix JFrog ENV vars
1 parent 0f2ac19 commit 8d19ddc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/spring-artifactory-gradle-release-staging.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,18 @@ jobs:
6666
--use-wrapper \
6767
--repo-deploy libs-staging-local
6868
69-
echo buildName=${{ github.event.repository.name }}-${{ inputs.releaseVersion }} >> $GITHUB_OUTPUT
70-
echo buildNumber=$GITHUB_RUN_NUMBER >> $GITHUB_OUTPUT
69+
echo JFROG_CLI_BUILD_NAME=${{ github.event.repository.name }}-${{ inputs.releaseVersion }} >> $GITHUB_ENV
70+
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
71+
echo buildName=$JFROG_CLI_BUILD_NAME >> $GITHUB_OUTPUT
72+
echo buildNumber=$JFROG_CLI_BUILD_NUMBER >> $GITHUB_OUTPUT
7173
7274
- name: Set Release Version
7375
run: sed -i "s/version=.*/version=${{ inputs.releaseVersion }}/" gradle.properties
7476

7577
- name: Build and Publish
7678
run: |
7779
jf gradle clean build ${{ inputs.gradleTasks }} artifactoryPublish
78-
jf rt build-publish ${{ steps.configure-jfrog.outputs.buildName }} ${{ steps.configure-jfrog.outputs.buildNumber }}
80+
jf rt build-publish
7981
8082
- name: Tag Release and Next Development Version
8183
run: |

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version=3.0.5-SNAPSHOT
1+
version=3.0.4-SNAPSHOT
22
org.gradle.caching=true
33
org.gradle.parallel=true

0 commit comments

Comments
 (0)