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