Release #243
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: [workflow_dispatch] # Manual trigger | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: | |
image: eclipse-temurin:17 | |
options: --user root | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: gradle/wrapper-validation-action@v1 | |
- run: ./gradlew build publish --stacktrace | |
env: | |
MAVEN_URL: ${{ secrets.MAVEN_URL }} | |
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | |
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} | |
- name: Publish javadoc to javadoc.quiltmc.org | |
uses: shallwefootball/[email protected] | |
with: | |
aws_key_id: ${{ secrets.JAVADOC_USERNAME }} | |
aws_secret_access_key: ${{ secrets.JAVADOC_PASSWORD }} | |
aws_bucket: ${{ secrets.JAVADOC_BUCKET }} | |
endpoint: ${{ secrets.JAVADOC_URL }} | |
source_dir: ./build/docs/ | |
destination_dir: "quilt-loader" | |
- name: Update Quilt Meta | |
uses: quiltmc/update-quilt-meta@main | |
with: | |
b2-key-id: ${{ secrets.META_B2_KEY_ID }} | |
b2-key: ${{ secrets.META_B2_KEY }} | |
cf-key: ${{ secrets.META_CF_KEY }} |