Skip to content

Commit 4e566a8

Browse files
add: workflow for publishing to maven central
1 parent 304a9dc commit 4e566a8

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@ jobs:
3131
- name: Setup Gradle
3232
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
3333

34-
- name: Set up GPG
35-
uses: olafurpg/setup-gpg@v3
34+
# - name: Set up GPG
35+
# uses: olafurpg/setup-gpg@v3
3636

37-
- name: get gpg version
38-
run: echo `gpg --version`
37+
# - name: get gpg version
38+
# run: echo `gpg --version`
3939

40-
- name: Import GPG
41-
uses: crazy-max/ghaction-import-gpg@v6
42-
with:
43-
gpg_private_key: ${{ secrets.OSS_SIGNING_KEY_ARMOURED_FORMAT }}
44-
passphrase: ${{ secrets.OSS_SIGNING_PASSWORD }}
40+
# - name: Import GPG
41+
# uses: crazy-max/ghaction-import-gpg@v6
42+
# with:
43+
# gpg_private_key: ${{ secrets.OSS_SIGNING_KEY_ARMOURED_FORMAT }}
44+
# passphrase: ${{ secrets.OSS_SIGNING_PASSWORD }}
4545

46-
- name: List the keys
47-
run: gpg --list-secret-keys
46+
# - name: List the keys
47+
# run: gpg --list-secret-keys
4848

4949

5050
# Step to grant execute permissions to the Gradle wrapper script
@@ -76,7 +76,7 @@ jobs:
7676
# echo "$GPG_SECRET_RING" >> secring.gpg
7777

7878
- name: Add secret file loc to gradle.properties
79-
run: echo "signing.secretKeyRingFile=secring.gpg" >> gradle.properties
79+
run: echo "signing.secretKeyRingFile=/home/runner/work/siren-android-inbox/siren-android-inbox/siren-sdk/secring.gpg" >> gradle.properties
8080

8181
- name: Configure AWS credentials
8282
uses: aws-actions/configure-aws-credentials@v4
@@ -86,7 +86,7 @@ jobs:
8686
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
8787

8888
- name: Download s3 secring file
89-
run: aws s3 cp s3://sirn-android-secring/secring.gpg secring.gpg
89+
run: aws s3 cp s3://sirn-android-secring/secring.gpg /home/runner/work/siren-android-inbox/siren-android-inbox/siren-sdk/secring.gpg
9090

9191
- name: cat secring.gpg
9292
run: cat secring.gpg

0 commit comments

Comments
 (0)