From 0c0e0c1a33a7f54136351189cf9a039dcbecbb32 Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Thu, 20 Feb 2020 12:54:19 -0500 Subject: [PATCH] Update gradle --- ci/gradle-publish.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ci/gradle-publish.yml b/ci/gradle-publish.yml index fe0fd85..118b075 100644 --- a/ci/gradle-publish.yml +++ b/ci/gradle-publish.yml @@ -21,10 +21,11 @@ jobs: server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file - - name: Build with Maven - run: mvn -B package --file pom.xml + - name: Build with Gradle + run: gradle build - - name: Publish to GitHub Packages Apache Maven - run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml + - name: Publish to GitHub Packages + run: gradle publish env: - GITHUB_TOKEN: ${{ github.token }} \ No newline at end of file + USERNAME: ${{ github.actor }} + PASSWORD: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file