Skip to content

Commit 4f0f50a

Browse files
committed
Merge branch '3.2.x' into 3.3.x
2 parents 2aa87ea + 707d858 commit 4f0f50a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/distribute.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ on:
1717
default: true
1818
jobs:
1919
distribute-spring-enterprise-release-bundle:
20-
if: ${{ vars.COMMERCIAL }}
2120
runs-on: ${{ vars.UBUNTU_SMALL || 'ubuntu-latest' }}
2221
steps:
2322
- name: Create Bundle
24-
if: ${{ inputs.create-bundle }}
23+
if: ${{ vars.COMMERCIAL && inputs.create-bundle }}
2524
shell: bash
2625
run: |
2726
curl -s -u "${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}:${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}" \
2827
-X POST -H "X-JFrog-Signing-Key-Name: packagesKey" -H "Content-Type: application/json" \
2928
"https://usw1.packages.broadcom.com/lifecycle/api/v2/release_bundle?project=spring" \
3029
-d '{"release_bundle_name": "TNZ-spring-boot-commercial", "release_bundle_version": "${{ inputs.version }}", "skip_docker_manifest_resolution": true, "source_type": "builds", "source": {"builds": [ {"build_repository": "spring-build-info", "build_name": "spring-boot-commercial-${{ inputs.version }}", "build_number": "${{ inputs.build-number }}", "include_dependencies": false}]}}'
3130
- name: Sleep
32-
if: ${{ inputs.create-bundle }}
31+
if: ${{ vars.COMMERCIAL && inputs.create-bundle }}
3332
shell: bash
3433
run: sleep 30
3534
- name: Distribute Bundle
35+
if: ${{ vars.COMMERCIAL }}
3636
shell: bash
3737
run: |
3838
curl -s -u "${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}:${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}" \

0 commit comments

Comments
 (0)