mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-05 15:30:16 +00:00
Update shellcheck.yml
This commit is contained in:
parent
0f1eea7f09
commit
53b96a98c0
17
.github/workflows/shellcheck.yml
vendored
17
.github/workflows/shellcheck.yml
vendored
@ -42,13 +42,20 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
baseurl="https://github.com/koalaman/shellcheck/releases/download"
|
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"
|
"${baseurl}/${INPUT_VERSION}/shellcheck-${INPUT_VERSION}.${osvariant}.x86_64.tar.xz"
|
||||||
|
|
||||||
mkdir -p "${{ github.action_path }}/shellcheck-${INPUT_VERSION}"
|
# Entpacken und verschieben
|
||||||
tar -xf "${{ github.action_path }}/sc.tar.xz" -C "${{ github.action_path }}"
|
tar -xf "${{ github.workspace }}/sc.tar.xz" -C "${{ github.workspace }}"
|
||||||
mv "${{ github.action_path }}/shellcheck-${INPUT_VERSION}/shellcheck" \
|
mv "${{ github.workspace }}/shellcheck-${INPUT_VERSION}/shellcheck" \
|
||||||
"${{ github.action_path }}/shellcheck"
|
"${{ github.workspace }}/shellcheck"
|
||||||
|
|
||||||
|
# Debugging: Zeige den Pfad und die Datei
|
||||||
|
echo "ShellCheck binary path:"
|
||||||
|
ls -l "${{ github.workspace }}/shellcheck"
|
||||||
|
|
||||||
|
|
||||||
- name: Display shellcheck version
|
- name: Display shellcheck version
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Loading…
Reference in New Issue
Block a user