chore(workflow): run 'publish_snapshots' job on branches other than 'main'

This commit is contained in:
Akash Yadav
2023-07-14 18:33:23 +05:30
parent 00515fee47
commit 72d6569a96
+1 -1
View File
@@ -194,7 +194,7 @@ jobs:
name: Publish package snapshots
runs-on: ubuntu-latest
needs: [ build_apk ]
if: ${{ always() && github.event_name != 'pull_request' && needs.build_apk.result == 'success' }}
if: ${{ always() && github.ref != 'refs/heads/main' && github.event_name != 'pull_request' && needs.build_apk.result == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v3