File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -42,19 +42,17 @@ jobs:
42
42
path : target/ctp-anon-cli*.jar
43
43
if-no-files-found : error
44
44
release :
45
- # if: contains(github.ref, 'refs/tags/v')
45
+ if : contains(github.ref, 'refs/tags/v')
46
46
needs : [build]
47
47
runs-on : ubuntu-latest
48
48
steps :
49
49
- name : download artifacts
50
50
uses : actions/download-artifact@v3
51
51
with :
52
52
path : ./dist
53
- - run : |
54
- find ./dist -type f
55
- # - name: upload release
56
- # uses: softprops/action-gh-release@v1
57
- # with:
58
- # files: ./dist/*
59
- # fail_on_unmatched_files: true
60
- # generate_release_notes: true
53
+ - name : upload release
54
+ uses : softprops/action-gh-release@v1
55
+ with :
56
+ files : ./dist/**/*.jar
57
+ fail_on_unmatched_files : true
58
+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments