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:
parent
0f1eea7f09
commit
53b96a98c0
17
.github/workflows/shellcheck.yml
vendored
17
.github/workflows/shellcheck.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user