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

17 lines
512 B
YAML
Raw Normal View History

2021-11-17 17:55:48 +00:00
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 }}