Skip to content

Commit

Permalink
CI: don't publish android SNAPSHOT for PRs or on forked repos
Browse files Browse the repository at this point in the history
  • Loading branch information
axxel committed Sep 7, 2024
1 parent bc92aed commit 3191a92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ jobs:
path: "wrappers/android/zxingcpp/build/outputs/aar/zxingcpp-release.aar"

- name: Publish Library Snapshot
if: github.repository == 'zxing-cpp/zxing-cpp' && github.event_name != 'pull_request'
working-directory: wrappers/android
env:
ORG_GRADLE_PROJECT_publishSnapshot: true
Expand Down

0 comments on commit 3191a92

Please sign in to comment.