Skip to content

Commit f25c749

Browse files
committed
github action fix
1 parent b84f2ad commit f25c749

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/gradlepublish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ jobs:
1818
uses: actions/setup-java@v1
1919
with:
2020
java-version: 1.8
21-
21+
- name: Build
22+
run: |
23+
sudo ./gradlew assembleRelease --stacktrace
2224
# The USERNAME and PASSWORD need to correspond to the credentials environment variables used in
2325
# the publishing section of your build.gradle
2426
- name: Publish to GitHub Packages
2527
env:
2628
USERNAME: ${{ secrets.GPR_USERNAME }}
2729
TOKEN: ${{ secrets.GPR_TOKEN }}
2830
run: |
29-
sudo ./gradlew -Pname="$USERNAME" -Ptoken="$TOKEN" assembleRelease publish --stacktrace
31+
sudo ./gradlew -Pname="$USERNAME" -Ptoken="$TOKEN" publish --stacktrace

0 commit comments

Comments
 (0)