quilt-mappings-on-loom/.github/workflows/release.yml

17 lines
512 B
YAML

name: Release
on: [workflow_dispatch] # Manual trigger
jobs:
build:
runs-on: ubuntu-20.04
container:
image: openjdk:17-jdk
options: --user root
steps:
- uses: actions/checkout@v1
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- run: ./gradlew build publish --stacktrace
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}