Skip to content

Commit 0acbf61

Browse files
committed
test doc upload
1 parent f92e84a commit 0acbf61

File tree

2 files changed

+24
-23
lines changed

2 files changed

+24
-23
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on:
2-
release:
3-
types: [published]
2+
[push]
3+
# release:
4+
# types: [published]
45

56
name: 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

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Java SDK Test
22

33
on:
4-
[push, pull_request]
4+
[ pull_request]
55

66
jobs:
77
test:

0 commit comments

Comments
 (0)