File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,18 @@ jobs:
25
25
- run : " ./gradlew check"
26
26
- run : " ./gradlew cyclonedxBom --no-configuration-cache"
27
27
- run : " ./gradlew publish"
28
- if : ${{ !contains(github.ref , 'dependabot ') }}
28
+ if : ${{ !contains(github.ref_name , '/ ') }}
29
29
- uses : actions/upload-artifact@v4
30
30
if : always()
31
31
with :
32
32
name : reports
33
33
path : gradle/aggregation/build/reports
34
34
- uses : DependencyTrack/gh-upload-sbom@v3
35
- if : ${{ !contains(github.ref , 'dependabot ') }}
35
+ if : ${{ !contains(github.ref_name , '/ ') }}
36
36
with :
37
37
apiKey : ${{ secrets.DEPENDENCYTRACK_APIKEY }}
38
38
bomFilename : " gradle/aggregation/build/reports/sbom/bom.xml"
39
39
serverHostname : ${{ secrets.DEPENDENCYTRACK_URL }}
40
40
projectName : " gradle-project-setup-howto"
41
- projectVersion : ${{ github.ref }}
41
+ projectVersion : ${{ github.ref_name }}
42
42
autoCreate : true
You can’t perform that action at this time.
0 commit comments