File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 else
8484 if [ ! $GPG_KEY_NAME ] || [ ! $GPG_PASSPHRASE ] || [ ! $MAVEN_PASS ] || [ ! $OSSRH_PASS ]; then
8585 echo " No deploy -- secure environment variables not available"
86- elif [ $FROM_PR ]; then
87- echo " No deploy -- pull request detected"
8886 else
8987 echo " All checks passed for artifact deployment"
9088 deployOK=1
Original file line number Diff line number Diff line change @@ -158,6 +158,14 @@ jobs:
158158 distribution: 'zulu'
159159 - name: Build with Maven
160160 run: ./$gitactionBuildScript
161+ env:
162+ GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME } }
163+ GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE } }
164+ MAVEN_PASS: ${{ secrets.MAVEN_PASS } }
165+ OSSRH_PASS: ${{ secrets.OSSRH_PASS } }
166+ SIGNINGIVSECRET: ${{ secrets.SIGNINGIVSECRET } }
167+ SIGNINGKEYSECRET: ${{ secrets.SIGNINGKEYSECRET } }
168+
161169EOL
162170 update " $gitactionConfig "
163171
@@ -196,8 +204,6 @@ jobs:
196204 distribution: 'zulu'
197205 - name: Build with Maven
198206 run: ./$gitactionBuildScript
199- env:
200- FROM_PR: true
201207EOL
202208 update " $gitactionPRConfig "
203209
You can’t perform that action at this time.
0 commit comments