We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57e1e54 commit a2d8247Copy full SHA for a2d8247
.github/workflows/release.yml
@@ -0,0 +1,30 @@
1
+name: release-artifacts
2
+
3
+on:
4
+ release:
5
+ types:
6
+ - published
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ with:
14
+ fetch-depth: 0
15
+ - uses: actions/setup-java@v3
16
17
+ distribution: 'temurin'
18
+ java-version: '17'
19
+ - name: Grant execute permission for gradlew
20
+ run: chmod +x gradlew
21
+ - name: Build and publish mod to CurseForge & Modrinth
22
+ run: ./gradlew forge:publishToModSites fabric:publishToModSites
23
+ env:
24
+ CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
25
+ MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
26
+ - name: Upload assets to GitHub
27
+ uses: AButler/[email protected]
28
29
+ files: 'bin/*'
30
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments