From a407d3d7344c9bbf158459f98c526419a1de2c6b Mon Sep 17 00:00:00 2001 From: lihenggui Date: Thu, 6 Jul 2023 14:25:58 -0700 Subject: [PATCH] Remove filters for the pull request Change-Id: Ieb1bc0fdbc671d142e18f1c71e896310347ff809 --- .github/workflows/Release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index f8c9a431ff..89130d8f63 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -23,7 +23,7 @@ jobs: run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties - name: Write sign info - if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && github.repository == 'lihenggui/Blocker' + if: github.ref == 'refs/heads/main' && github.repository == 'lihenggui/Blocker' run: | if [ ! -z "${{ secrets.KEYSTORE }}" ]; then echo releaseStorePassword='${{ secrets.SIGNING_STORE_PASSWORD }}' >> gradle.properties @@ -66,14 +66,14 @@ jobs: path: '**/build/outputs/apk/**/*.apk' - name: Upload built Foss apk - if: success() && github.event_name != 'pull_request' && github.repository == 'lihenggui/Blocker' + if: success() && github.repository == 'lihenggui/Blocker' uses: actions/upload-artifact@v3 with: name: Foss path: ${{ github.workspace }}/app-compose/build/outputs/apk/foss/release - name: Upload built Market apk - if: success() && github.event_name != 'pull_request' && github.repository == 'lihenggui/Blocker' + if: success() && github.repository == 'lihenggui/Blocker' uses: actions/upload-artifact@v3 with: name: Market @@ -87,7 +87,7 @@ jobs: path: "app-compose/build/outputs/mapping/marketRelease" - name: Publish to Play Store internal test track - if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && github.repository == 'lihenggui/Blocker' + if: github.ref == 'refs/heads/main' && github.repository == 'lihenggui/Blocker' uses: r0adkll/upload-google-play@v1.1.1 with: serviceAccountJsonPlainText: ${{ secrets.ANDROID_SERVICE_ACCOUNT_JSON }} @@ -106,7 +106,7 @@ jobs: echo "market_path=$market_path" >> $GITHUB_OUTPUT - name: Get apk info - if: success() && github.event_name != 'pull_request' && github.repository == 'lihenggui/Blocker' + if: success() && github.repository == 'lihenggui/Blocker' id: apk-info uses: zhaobozhen/apk-info-action@1.1.2 with: