Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .github/resources/firebase.asc.gpg
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/scripts/publish_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -u
gpg --quiet --batch --yes --decrypt --passphrase="${GPG_PRIVATE_KEY}" \
--output firebase.asc .github/resources/firebase.asc.gpg

gpg --import firebase.asc
gpg --import --no-tty --batch --yes firebase.asc

# Does the following:
# 1. Compiles the source (compile phase)
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ jobs:
id: preflight
run: ./.github/scripts/publish_preflight_check.sh

- name: Publish to Maven Central
run: ./.github/scripts/publish_artifacts.sh
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
NEXUS_OSSRH_USERNAME: ${{ secrets.NEXUS_OSSRH_USERNAME }}
NEXUS_OSSRH_PASSWORD: ${{ secrets.NEXUS_OSSRH_PASSWORD }}

# We pull this action from a custom fork of a contributor until
# https://github.com/actions/create-release/pull/32 is merged. Also note that v1 of
# this action does not support the "body" parameter.
Expand All @@ -105,14 +113,6 @@ jobs:
draft: false
prerelease: false

- name: Publish to Maven Central
run: ./.github/scripts/publish_artifacts.sh
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
NEXUS_OSSRH_USERNAME: ${{ secrets.NEXUS_OSSRH_USERNAME }}
NEXUS_OSSRH_PASSWORD: ${{ secrets.NEXUS_OSSRH_PASSWORD }}

# Post to Twitter if explicitly opted-in by adding the label 'release:tweet'.
- name: Post to Twitter
if: success() &&
Expand Down