-
-
Notifications
You must be signed in to change notification settings - Fork 29
47 lines (40 loc) · 1.3 KB
/
publish.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Publish Release
on:
release:
types:
- published
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Grant execute permission for Gradlew
run: chmod +x gradlew
- name: Upload assets to releases
run: ./gradlew build publishAllPublicationsToFlashyReeseReleasesRepository
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
BUILD_RELEASE: ${{ github.event.prerelease == false }}
- name: Publish to Modrinth & CurseForge
uses: Kir-Antipov/[email protected]
with:
modrinth-id: Bh37bMuy
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 511319
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
version-type: release
loaders: fabric
version-resolver: latest
dependencies: |
sodium | depends | *
sodium-extra | recommends | *
irisshaders | recommends | *
iris | recommends | *