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 50f20cc30d
commit eb32da49aa
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
arch: x64
runner: ubuntu-latest
target: node20-linuxstatic-x64
target: node20-linux-x64
extension: ""
- 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
runner: ubuntu-24.04-arm
target: node20-linuxstatic-arm64

View file

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