Skip to content

Commit ea4468d

Browse files
committed
Fixes output redirection and URL parsing
Corrects output redirection in GitHub Actions workflows by enclosing the $GITHUB_OUTPUT variable in quotes, preventing potential issues with variable expansion. Ensures proper URL parsing in workflows by enclosing the URL within quotes, addressing potential parsing errors. Fixes #4696
1 parent 61d335f commit ea4468d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/details-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: |
3232
shortnamearray=$(cat shortnamearray.json)
3333
echo "${shortnamearray}"
34-
echo -n "matrix=${shortnamearray}" >> $GITHUB_OUTPUT
34+
echo -n "matrix=${shortnamearray}" >> "$GITHUB_OUTPUT"
3535
3636
details-check:
3737
if: github.repository_owner == 'GameServerManagers'
@@ -44,7 +44,7 @@ jobs:
4444

4545
steps:
4646
- name: Download linuxgsm.sh
47-
run: wget https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/linuxgsm.sh; chmod +x linuxgsm.sh
47+
run: wget "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/linuxgsm.sh"; chmod +x linuxgsm.sh
4848

4949
- name: Install dependencies
5050
run: sudo apt-get install libxml2-utils jq

.github/workflows/update-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Download linuxgsm.sh
27-
run: wget https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/linuxgsm.sh; chmod +x linuxgsm.sh
27+
run: wget "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${GITHUB_REF#refs/heads/}/linuxgsm.sh"; chmod +x linuxgsm.sh
2828

2929
- name: Install dependencies
3030
run: sudo dpkg --add-architecture i386; sudo apt-get update;

0 commit comments

Comments
 (0)