Skip to content

Commit f92e84a

Browse files
committed
Update release.yml
reverting test code in the release.yml
1 parent 22948e3 commit f92e84a

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 16 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

@@ -22,19 +21,19 @@ jobs:
2221
run: mvn package --file pom.xml -DskipTests=true
2322
- name: Create temp artifacts apidocs folder
2423
run: mkdir apidocs
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 }}
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 }}
3837

3938
- name: Zip docs
4039
run: |

0 commit comments

Comments
 (0)