Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 72d6569

Browse files
committed
chore(workflow): run 'publish_snapshots' job on branches other than 'main'
1 parent 00515fe commit 72d6569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
name: Publish package snapshots
195195
runs-on: ubuntu-latest
196196
needs: [ build_apk ]
197-
if: ${{ always() && github.event_name != 'pull_request' && needs.build_apk.result == 'success' }}
197+
if: ${{ always() && github.ref != 'refs/heads/main' && github.event_name != 'pull_request' && needs.build_apk.result == 'success' }}
198198
steps:
199199
- name: Checkout
200200
uses: actions/checkout@v3

0 commit comments

Comments
 (0)