Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Commit 6dedd93

Browse files
authored
Use release-title
1 parent f2df372 commit 6dedd93

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,15 @@ jobs:
5555
strategy:
5656
matrix:
5757
include:
58-
- title: BungeeCord, Waterfall
59-
directory: bungeecord
58+
- directory: bungeecord
6059
loaders: |
6160
bungeecord
6261
waterfall
63-
- title: Paper
64-
directory: paper
62+
- directory: paper
6563
loaders: paper
66-
- title: Spigot
67-
directory: spigot
64+
- directory: spigot
6865
loaders: spigot
69-
- title: Velocity
70-
directory: velocity
66+
- directory: velocity
7167
loaders: velocity
7268
runs-on: ubuntu-latest
7369
steps:
@@ -82,10 +78,10 @@ jobs:
8278
run: |
8379
version=$(echo ${{ github.event.release.tag_name }} | cut -d'v' -f2)
8480
echo "::set-output name=version::$version"
85-
- name: Upload AdvancedServerList (${{ matrix.title }}) to GitHub and Modrinth
81+
- name: Upload AdvancedServerList (${{ matrix.loaders }}) to GitHub and Modrinth
8682
uses: Kir-Antipov/mc-publish@v3.2
8783
with:
88-
name: v${{ steps.github-release.outputs.version }} - ${{ matrix.title }}
84+
name: ${{ github.event.release.name }}
8985
version: ${{ steps.github-release.outputs.version }}
9086
version-type: release
9187
files: ${{ matrix.directory}}/target/AdvancedServerList-*.jar

0 commit comments

Comments
 (0)