Skip to content

chore: add Relays

chore: add Relays #36

Workflow file for this run

name: Commit check
on:
push:
branches:
- master
env:
COMMIT_OWNER: ${{ github.event.pusher.name }}
COMMIT_SHA: ${{ github.sha }}
PIPELINE_ID: ${{ github.run_number }}
FORCE_COLOR: 1
jobs:
commit:
name: commit
runs-on: ubuntu-latest
steps:
- uses: earthly/actions-setup@v1
with:
version: "latest"
- name: checkout
uses: actions/checkout@v4
- name: check
run: |
earthly --ci --allow-privileged +ci-check \
--PIPELINE_ID=${{ env.PIPELINE_ID }}
- name: publish
run: |
echo "${{ secrets.MAVEN_GPG_PRIVATE_KEY }}" > ./maven_private_key &&
earthly --ci --allow-privileged --push +ci-publish \
--PIPELINE_ID=${{ env.PIPELINE_ID }} \
--MAVEN_SONATYPE_USERNAME=${{ secrets.MAVEN_SONATYPE_USERNAME }} \
--MAVEN_SONATYPE_PASSWORD=${{ secrets.MAVEN_SONATYPE_PASSWORD }} \
--MAVEN_GPG_PRIVATE_KEY_PASSWORD=${{ secrets.MAVEN_GPG_PRIVATE_KEY_PASSWORD }}