Created
February 4, 2021 16:29
-
-
Save uzzu/83bf7a2278316ab8461b1883b36c5478 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync maven central secrets | |
on: | |
workflow_dispatch: | |
inputs: | |
DRY_RUN: | |
description: 'Dry run' | |
required: true | |
default: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set env | |
run: | | |
echo 'OSSRH_USERNAME=${{ secrets.OSSRH_USERNAME }}' >> $GITHUB_ENV | |
echo 'OSSRH_PASSWORD=${{ secrets.OSSRH_PASSWORD }}' >> $GITHUB_ENV | |
echo 'SIGNING_KEYID=${{ secrets.SIGNING_KEYID }}' >> $GITHUB_ENV | |
echo 'SIGNING_PASSWORD=${{ secrets.SIGNING_PASSWORD }}' >> $GITHUB_ENV | |
echo 'SIGNING_KEY<<EOF' >> $GITHUB_ENV | |
echo '${{ secrets.SIGNING_KEY }}' >> $GITHUB_ENV | |
echo 'EOF' >> $GITHUB_ENV | |
- name: Secrets Sync Action | |
uses: google/[email protected] | |
with: | |
SECRETS: | | |
OSSRH_USERNAME | |
OSSRH_PASSWORD | |
SIGNING_KEYID | |
SIGNING_PASSWORD | |
SIGNING_KEY | |
REPOSITORIES_LIST_REGEX: false | |
REPOSITORIES: | | |
uzzu/kortex | |
uzzu/strikts | |
uzzu/structurizr-ktx | |
uzzu/danger-checkstyle-plugin | |
DRY_RUN: ${{ github.event.inputs.DRY_RUN }} | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
CONCURRENCY: 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment