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

Commit f53fd65

Browse files
committed
chore: provide 'PublishToMaven' env var to build step in workflow
1 parent 76a9411 commit f53fd65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
./gradlew build
4747
env:
4848
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
49+
PublishToMaven: ${{ github.ref == 'refs/heads/main' }}
4950

5051
- name: Publish packages
5152
if: ${{ always() && github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && steps.build.outcome == 'success' }}

0 commit comments

Comments
 (0)