File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 20
20
gpg --quiet --batch --yes --decrypt --passphrase=" ${GPG_PRIVATE_KEY} " \
21
21
--output firebase.asc .github/resources/firebase.asc.gpg
22
22
23
- gpg --import firebase.asc
23
+ gpg --import --no-tty --batch --yes firebase.asc
24
24
25
25
# Does the following:
26
26
# 1. Compiles the source (compile phase)
Original file line number Diff line number Diff line change 91
91
id : preflight
92
92
run : ./.github/scripts/publish_preflight_check.sh
93
93
94
+ - name : Publish to Maven Central
95
+ run : ./.github/scripts/publish_artifacts.sh
96
+ env :
97
+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
98
+ GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
99
+ NEXUS_OSSRH_USERNAME : ${{ secrets.NEXUS_OSSRH_USERNAME }}
100
+ NEXUS_OSSRH_PASSWORD : ${{ secrets.NEXUS_OSSRH_PASSWORD }}
101
+
94
102
# We pull this action from a custom fork of a contributor until
95
103
# https://github.com/actions/create-release/pull/32 is merged. Also note that v1 of
96
104
# this action does not support the "body" parameter.
@@ -105,14 +113,6 @@ jobs:
105
113
draft : false
106
114
prerelease : false
107
115
108
- - name : Publish to Maven Central
109
- run : ./.github/scripts/publish_artifacts.sh
110
- env :
111
- GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
112
- GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
113
- NEXUS_OSSRH_USERNAME : ${{ secrets.NEXUS_OSSRH_USERNAME }}
114
- NEXUS_OSSRH_PASSWORD : ${{ secrets.NEXUS_OSSRH_PASSWORD }}
115
-
116
116
# Post to Twitter if explicitly opted-in by adding the label 'release:tweet'.
117
117
- name : Post to Twitter
118
118
if : success() &&
You can’t perform that action at this time.
0 commit comments