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

Commit

Permalink
Use release-title
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre601 authored Sep 5, 2022
1 parent f2df372 commit 6dedd93
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,15 @@ jobs:
strategy:
matrix:
include:
- title: BungeeCord, Waterfall
directory: bungeecord
- directory: bungeecord
loaders: |
bungeecord
waterfall
- title: Paper
directory: paper
- directory: paper
loaders: paper
- title: Spigot
directory: spigot
- directory: spigot
loaders: spigot
- title: Velocity
directory: velocity
- directory: velocity
loaders: velocity
runs-on: ubuntu-latest
steps:
Expand All @@ -82,10 +78,10 @@ jobs:
run: |
version=$(echo ${{ github.event.release.tag_name }} | cut -d'v' -f2)
echo "::set-output name=version::$version"
- name: Upload AdvancedServerList (${{ matrix.title }}) to GitHub and Modrinth
- name: Upload AdvancedServerList (${{ matrix.loaders }}) to GitHub and Modrinth
uses: Kir-Antipov/[email protected]
with:
name: v${{ steps.github-release.outputs.version }} - ${{ matrix.title }}
name: ${{ github.event.release.name }}
version: ${{ steps.github-release.outputs.version }}
version-type: release
files: ${{ matrix.directory}}/target/AdvancedServerList-*.jar
Expand Down

0 comments on commit 6dedd93

Please sign in to comment.