1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-02-01 21:51:51 +00:00

Update shellcheck.yml

This commit is contained in:
CanbiZ 2025-01-14 14:35:51 +01:00 committed by GitHub
parent 0f1eea7f09
commit 53b96a98c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,13 +42,20 @@ jobs:
fi
baseurl="https://github.com/koalaman/shellcheck/releases/download"
curl -Lso "${{ github.action_path }}/sc.tar.xz" \
# ShellCheck herunterladen ins Arbeitsverzeichnis
curl -Lso "${{ github.workspace }}/sc.tar.xz" \
"${baseurl}/${INPUT_VERSION}/shellcheck-${INPUT_VERSION}.${osvariant}.x86_64.tar.xz"
mkdir -p "${{ github.action_path }}/shellcheck-${INPUT_VERSION}"
tar -xf "${{ github.action_path }}/sc.tar.xz" -C "${{ github.action_path }}"
mv "${{ github.action_path }}/shellcheck-${INPUT_VERSION}/shellcheck" \
"${{ github.action_path }}/shellcheck"
# Entpacken und verschieben
tar -xf "${{ github.workspace }}/sc.tar.xz" -C "${{ github.workspace }}"
mv "${{ github.workspace }}/shellcheck-${INPUT_VERSION}/shellcheck" \
"${{ github.workspace }}/shellcheck"
# Debugging: Zeige den Pfad und die Datei
echo "ShellCheck binary path:"
ls -l "${{ github.workspace }}/shellcheck"
- name: Display shellcheck version
shell: bash