mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 22:07:59 +01:00
23 lines
618 B
YAML
23 lines
618 B
YAML
name: Publish To Maven
|
|
on:
|
|
- release
|
|
jobs:
|
|
gradle:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Commit
|
|
uses: actions/checkout@v2
|
|
- name: Fetch Tags
|
|
run: git fetch --unshallow --tags -f
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: 16
|
|
- name: Publish Maven Jar
|
|
env:
|
|
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}
|
|
SECRET_KEY: ${{ secrets.SECRET_KEY }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
uses: eskatos/gradle-command-action@v1
|
|
with:
|
|
arguments: build publish
|