11on :
2- release :
3- types : [published]
2+ [push]
3+ # release:
4+ # types: [published]
45
56name : Release
67
@@ -21,28 +22,28 @@ jobs:
2122 run : mvn package --file pom.xml -DskipTests=true
2223 - name : Create temp artifacts apidocs folder
2324 run : mkdir apidocs
24- - name : Create GitHub Release
25- uses : softprops/action-gh-release@v1
26- with :
27- # body_path: ${{ github.workflow }}-CHANGELOG.txt
28- files : ./target/*.jarln -s /data/to/zip/data.txt data.txt
29- draft : true
30- env :
31- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32- - name : Deploy to Artifactory
33- run : mvn --batch-mode deploy -DskipTests=true
34- env :
35- MAVEN_USERNAME : ${{ secrets.ARTIFACTORY_USERNAME }}
36- MAVEN_PASSWORD : ${{ secrets.ARTIFACTORY_PASSWORD }}
37-
38- - name : Zip docs
39- run : |
40- cd splunk/target/apidocs
41- zip -r ./../../../apidocs/docs.zip ./*
42- cd ../../..
25+ # - name: Create GitHub Release
26+ # uses: softprops/action-gh-release@v1
27+ # with:
28+ # # body_path: ${{ github.workflow }}-CHANGELOG.txt
29+ # files: ./target/*.jarln -s /data/to/zip/data.txt data.txt
30+ # draft: true
31+ # env:
32+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+ # - name: Deploy to Artifactory
34+ # run: mvn --batch-mode deploy -DskipTests=true
35+ # env:
36+ # MAVEN_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
37+ # MAVEN_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
38+ #
39+ # - name: Zip docs
40+ # run: |
41+ # cd splunk/target/apidocs
42+ # zip -r ./../../../apidocs/docs.zip ./*
43+ # cd ../../..
4344
4445 - name : Upload Artifact
4546 uses : actions/upload-artifact@v3
4647 with :
4748 name : apidocs
48- path : apidocs/docs.zip
49+ path : splunk/target/apidocs
0 commit comments