Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <zoey@z0ey.de>
  • Loading branch information
Zoey2936 committed May 20, 2023
1 parent d831edc commit a2d46b1
Showing 1 changed file with 8 additions and 41 deletions.
49 changes: 8 additions & 41 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@ jobs:
with:
version-type: release
modrinth-featured: true
github-prerelease: ${{ github.ref != 'refs/heads/stable' }}
github-prerelease: false
name: v${{ steps.version.outputs.version }}
version: ${{ steps.version.outputs.version }}
github-tag: v${{ steps.version.outputs.version }}
files: |
target/stacker.jar
files: target/stacker.jar
java: |
17
loaders: |
Expand All @@ -62,58 +61,26 @@ jobs:
curseforge-id: 507466
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Kir-Antipov/mc-publish@v3.2
- uses: Kir-Antipov/mc-publish@v3.3
if: github.ref == 'refs/heads/dev'
with:
version-type: beta
modrinth-featured: false
github-prerelease: ${{ github.ref != 'refs/heads/stable' }}
github-prerelease: true
name: v${{ steps.version.outputs.version }}
version: ${{ steps.version.outputs.version }}
github-tag: v${{ steps.version.outputs.version }}
files-primary: target/stacker.jar
files: target/stacker.jar
java: |
17
loaders: |
spigot
paper
purpur
game-versions: |
1.11
1.11.1
1.11.2
1.12
1.12.1
1.12.2
1.13
1.13.1
1.13.2
1.14
1.14.1
1.14.2
1.14.3
1.14.4
1.15
1.15.1
1.15.2
1.16
1.16.1
1.16.2
1.16.3
1.16.4
1.16.5
1.17
1.17.1
1.18
1.18.1
1.18.2
1.19
1.19.1
1.19.2
1.19.3
1.19.4
>=1.11 <=1.19.4
modrinth-id: Ffx1tA97
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
# curseforge-id: 507466
# curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
curseforge-id: 507466
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a2d46b1

Please sign in to comment.