Add extra artifact for linuxstatic, change install script to use it.

This commit is contained in:
Sander Declerck 2026-01-06 09:02:22 +01:00
parent d530b9a1de
commit ff4618602a
No known key found for this signature in database
2 changed files with 12 additions and 2 deletions

View file

@ -32,9 +32,19 @@ jobs:
- os: linux - os: linux
arch: x64 arch: x64
runner: ubuntu-latest runner: ubuntu-latest
target: node20-linuxstatic-x64 target: node20-linux-x64
extension: "" extension: ""
- os: linux - os: linux
arch: arm64
runner: ubuntu-24.04-arm
target: node20-linux-arm64
extension: ""
- os: linuxstatic
arch: x64
runner: ubuntu-latest
target: node20-linuxstatic-x64
extension: ""
- os: linuxstatic
arch: arm64 arch: arm64
runner: ubuntu-24.04-arm runner: ubuntu-24.04-arm
target: node20-linuxstatic-arm64 target: node20-linuxstatic-arm64

View file

@ -34,7 +34,7 @@ error() {
# Detect OS # Detect OS
detect_os() { detect_os() {
case "$(uname -s)" in case "$(uname -s)" in
Linux*) echo "linux" ;; Linux*) echo "linuxstatic" ;;
Darwin*) echo "macos" ;; Darwin*) echo "macos" ;;
*) error "Unsupported operating system: $(uname -s)" ;; *) error "Unsupported operating system: $(uname -s)" ;;
esac esac