Skip to content

Commit e7b3578

Browse files
committed
reverted changes done for test purpose
1 parent 3dad76b commit e7b3578

File tree

2 files changed

+16
-23
lines changed

2 files changed

+16
-23
lines changed

.github/workflows/release.yml

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

65
name: Release
76

@@ -20,25 +19,19 @@ jobs:
2019
server-id: splunk-artifactory
2120
- name: build
2221
run: mvn package --file pom.xml -DskipTests=true
23-
# - name: Create GitHub Release
24-
# uses: softprops/action-gh-release@v1
25-
# with:
26-
## body_path: ${{ github.workflow }}-CHANGELOG.txt
27-
# files: ./target/*.jarln -s /data/to/zip/data.txt data.txt
28-
# draft: true
29-
# env:
30-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
# - name: Deploy to Artifactory
32-
# run: mvn --batch-mode deploy -DskipTests=true
33-
# env:
34-
# MAVEN_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
35-
# MAVEN_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
36-
#
37-
# - name: Zip docs
38-
# run: |
39-
# cd splunk/target/apidocs
40-
# zip -r ./../../../apidocs/docs.zip ./*
41-
# cd ../../..
22+
- name: Create GitHub Release
23+
uses: softprops/action-gh-release@v1
24+
with:
25+
# body_path: ${{ github.workflow }}-CHANGELOG.txt
26+
files: ./target/*.jarln -s /data/to/zip/data.txt data.txt
27+
draft: true
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
- name: Deploy to Artifactory
31+
run: mvn --batch-mode deploy -DskipTests=true
32+
env:
33+
MAVEN_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
34+
MAVEN_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
4235

4336
- name: Upload Artifact
4437
uses: actions/upload-artifact@v3

.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-
[ pull_request]
4+
[push, pull_request]
55

66
jobs:
77
test:

0 commit comments

Comments
 (0)