Skip to content

Commit

Permalink
Fix buildNumber for ::notice
Browse files Browse the repository at this point in the history
* Move `threads: 10` artifactory action input after `artifact-properties`
  • Loading branch information
artembilan committed Jul 19, 2024
1 parent 151fc13 commit 3314e0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/spring-artifactory-gradle-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ runs:
fi
buildName=${{ github.event.repository.name }}-$branchVersion${{ inputs.releaseVersion != '' && '-release' || '' }}
buildNumber=${{ github.run_number }}
echo buildName=$buildName >> $GITHUB_OUTPUT
echo buildNumber=${{ github.run_number }} >> $GITHUB_OUTPUT
echo buildNumber=$buildNumber >> $GITHUB_OUTPUT
echo "::notice title=Artifactory Build Name & Number::$buildName/$buildNumber"
Expand All @@ -101,10 +102,10 @@ runs:
build-name: ${{ steps.build-name.outputs.buildName }}
repository: ${{ inputs.targetRepository == '' && 'libs-snapshot-local' || inputs.targetRepository }}
folder: 'deployment-repository'
threads: 10
artifact-properties: |
/**/*.zip::zip.name=${{ github.event.repository.name }},zip.deployed=false
/**/*docs.zip::zip.type=docs
/**/*dist.zip::zip.type=dist
threads: 10
signing-key: ${{ inputs.gpgPrivateKey }}
signing-passphrase: ${{ inputs.gpgPassphrase }}

0 comments on commit 3314e0d

Please sign in to comment.