Skip to content

Commit

Permalink
Remove filters for the pull request
Browse files Browse the repository at this point in the history
Change-Id: Ieb1bc0fdbc671d142e18f1c71e896310347ff809
  • Loading branch information
lihenggui committed Jul 6, 2023
1 parent e1a4136 commit a407d3d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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:
Expand Down

0 comments on commit a407d3d

Please sign in to comment.