Split up actions (#129)

* Refactor conditional dependent jobs into separate actions
* Fix incorrect usage of pull_request_target
* Fix Dependabot not merging due to labels being absent when issue is created
* Prettify supported version listing
This commit is contained in:
Adam
2023-03-15 08:13:33 -04:00
committed by GitHub
parent e885bf9a65
commit 3d4bed04d5
5 changed files with 73 additions and 54 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2011-2021 lishid. All rights reserved.
# Copyright (C) 2011-2023 lishid. All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@ function get_minecraft_versions() {
for version in "${versions[@]}"; do
# Append comma if variable is set, then append version
minecraft_versions="${minecraft_versions:+${minecraft_versions},}${version%%-R*}"
minecraft_versions="${minecraft_versions:+${minecraft_versions}, }${version%%-R*}"
done
echo "${minecraft_versions}"