Skip to content

Commit

Permalink
Fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
gabber235 committed Nov 24, 2023
1 parent 31c18aa commit de288ef
Showing 1 changed file with 69 additions and 71 deletions.
140 changes: 69 additions & 71 deletions .github/workflows/build-development-jars-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,40 +19,40 @@ jobs:
with:
distribution: temurin
java-version: 17
# - name: Build Plugin
# uses: ./.github/actions/build-plugin
# - name: Build Basic Adapter
# uses: ./.github/actions/build-adapter
# with:
# adapter: BasicAdapter
# - name: Build Citizens Adapter
# uses: ./.github/actions/build-adapter
# with:
# adapter: CitizensAdapter
# - name: Build CombatLogX Adapter
# uses: ./.github/actions/build-adapter
# with:
# adapter: CombatLogXAdapter
# - name: Build MythicMobs Adapter
# uses: ./.github/actions/build-adapter
# with:
# adapter: MythicMobsAdapter
# - name: Build RPGRegions Adapter
# uses: ./.github/actions/build-adapter
# with:
# adapter: RPGRegionsAdapter
# - name: Build SuperiorSkyblock Adapter
# uses: ./.github/actions/build-adapter
# with:
# adapter: SuperiorSkyblockAdapter
# - name: Build Vault Adapter
# uses: ./.github/actions/build-adapter
# with:
# adapter: VaultAdapter
# - name: Build WorldGuard Adapter
# uses: ./.github/actions/build-adapter
# with:
# adapter: WorldGuardAdapter
- name: Build Plugin
uses: ./.github/actions/build-plugin
- name: Build Basic Adapter
uses: ./.github/actions/build-adapter
with:
adapter: BasicAdapter
- name: Build Citizens Adapter
uses: ./.github/actions/build-adapter
with:
adapter: CitizensAdapter
- name: Build CombatLogX Adapter
uses: ./.github/actions/build-adapter
with:
adapter: CombatLogXAdapter
- name: Build MythicMobs Adapter
uses: ./.github/actions/build-adapter
with:
adapter: MythicMobsAdapter
- name: Build RPGRegions Adapter
uses: ./.github/actions/build-adapter
with:
adapter: RPGRegionsAdapter
- name: Build SuperiorSkyblock Adapter
uses: ./.github/actions/build-adapter
with:
adapter: SuperiorSkyblockAdapter
- name: Build Vault Adapter
uses: ./.github/actions/build-adapter
with:
adapter: VaultAdapter
- name: Build WorldGuard Adapter
uses: ./.github/actions/build-adapter
with:
adapter: WorldGuardAdapter
- name: Get version
id: vars
run: |
Expand All @@ -61,40 +61,38 @@ jobs:
full_version="${version}-dev-${short_sha}"
echo $full_version
echo "version=$full_version" >> $GITHUB_OUTPUT
- name: Debug full version
run: echo ${{ steps.vars.outputs.version }}
# - name: Publish Development Jars
# uses: Kir-Antipov/[email protected]
# id: publish
# with:
# modrinth-id: "Vm7B3ymm"
# modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
# modrinth-featured: false
# github-token: ${{ secrets.GITHUB_TOKEN }}
# github-tag: "v${{ steps.vars.outputs.version }}"
# github-prerelease: true
# files: |
# plugin/build/libs/typewriter.jar
# adapters/**/build/libs/*.jar
# name: "Typewriter v${{ steps.vars.outputs.version }} Development Build"
# version: "${{ steps.vars.outputs.version }}"
# version-type: "beta"
# loaders: |
# paper
# purpur
# game-versions: |
# 1.19.4
# 1.20.0
# 1.20.1
# 1.20.2
# - name: Notify Discord
# uses: sarisia/actions-status-discord@v1
# with:
# webhook: ${{ secrets.DISCORD_WEBHOOK }}
# nodetail: true
# title: Published Development Build
# description: |
# I have published a development build of Typewriter.
# Version: ${{ steps.vars.outputs.version }}
# [Download](${{ steps.publish.outputs.modrinth-url }})
#
- name: Publish Development Jars
uses: Kir-Antipov/[email protected]
id: publish
with:
modrinth-id: "Vm7B3ymm"
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
modrinth-featured: false
github-token: ${{ secrets.GITHUB_TOKEN }}
github-tag: "v${{ steps.vars.outputs.version }}"
github-prerelease: true
files: |
plugin/build/libs/typewriter.jar
adapters/**/build/libs/*.jar
name: "Typewriter v${{ steps.vars.outputs.version }} Development Build"
version: "${{ steps.vars.outputs.version }}"
version-type: "beta"
loaders: |
paper
purpur
game-versions: |
1.19.4
1.20.0
1.20.1
1.20.2
- name: Notify Discord
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
nodetail: true
title: Published Development Build
description: |
I have published a development build of Typewriter.
Version: ${{ steps.vars.outputs.version }}
[Download](${{ steps.publish.outputs.modrinth-url }})

0 comments on commit de288ef

Please sign in to comment.