You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
711 B
23 lines
711 B
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
|
|
# Renaming ? Change the README badge.
|
|
name: Snapshot
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
SNAPSHOT:
|
|
name: Publish Snapshot
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
|
|
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
|
|
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
|
|
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 1.8
|
|
- name: Publish sonatype snapshot
|
|
run: ./gradlew publishToSonatypeSnapshot |