-
-
Notifications
You must be signed in to change notification settings - Fork 87
32 lines (31 loc) · 1.11 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 }}