From 9b308e6fb82087fb51e0657df7f220033789bcb4 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 21 Nov 2022 20:32:48 +0600 Subject: [PATCH] update workflow --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ce82b06c8a..65df74133c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,9 +20,8 @@ jobs: mv gradle.properties.tmp gradle.properties - name: Build run: ./gradlew build -# - name: Publish -# continue-on-error: true -# run: ./gradlew --no-parallel publishAllPublicationsToGithubPackagesRepository -# env: -# GITHUBPACKAGES_USER: ${{ github.actor }} -# GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }} + - name: Publish + continue-on-error: true + run: ./gradlew publishAllPublicationsToGiteaRepository + env: + GITEA_TOKEN: ${{ github.GITEA_TOKEN }}