From 03539d89fdaab6be487b2289fc1d2e7e1957146f Mon Sep 17 00:00:00 2001 From: Oqba Date: Tue, 3 Nov 2026 06:45:01 +0330 Subject: [PATCH] Skip upload-artifact on Gitea for 100% green builds --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1e1352..f8c3f70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,9 +67,9 @@ jobs: run: | mv app/build/outputs/apk/release/app-release.apk app/build/outputs/apk/release/MonthlyPaymentApp-${{ github.ref_name }}.apk - - name: Upload APK Artifact + - name: Upload APK Artifact (GitHub) + if: contains(github.server_url, 'github.com') uses: actions/upload-artifact@v4 - continue-on-error: true with: name: MonthlyPaymentApp-${{ github.ref_name }} path: app/build/outputs/apk/release/MonthlyPaymentApp-${{ github.ref_name }}.apk