commit 89515379b2928e32de4eb9eca407178173d3a7a5
parent 4ed7ef2a5179a8a58bd9dfb01a9563acb286d901
Author: Erik Loualiche <eloualic@umn.edu>
Date: Wed, 18 Mar 2026 09:14:08 -0500
ci: replace x86 Mac with x86 Linux target in release workflow
- Drop x86_64-apple-darwin, add x86_64-unknown-linux-gnu
- Update README install instructions with Linux download
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
@@ -15,9 +15,9 @@ jobs:
- target: aarch64-apple-darwin
os: macos-latest
suffix: aarch64-apple-darwin
- - target: x86_64-apple-darwin
- os: macos-latest
- suffix: x86_64-apple-darwin
+ - target: x86_64-unknown-linux-gnu
+ os: ubuntu-latest
+ suffix: x86_64-linux
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
@@ -55,7 +55,7 @@ jobs:
run: |
mkdir -p release
- for arch in aarch64-apple-darwin x86_64-apple-darwin; do
+ for arch in aarch64-apple-darwin x86_64-linux; do
for bin in xlcat xlset xlfilter xldiff; do
cp artifacts/binaries-${arch}/${bin}-${arch} release/
done
@@ -65,7 +65,7 @@ jobs:
cp demo/*.gif release/
# Make binaries executable
- chmod +x release/xl*-*-apple-darwin
+ chmod +x release/xl*-*
- name: Create GitHub Release
env:
diff --git a/README.md b/README.md
@@ -56,14 +56,19 @@ xldiff old.xlsx new.xlsx --key ID
Download from [Releases](https://github.com/LouLouLibs/xl-cli-tools/releases):
```bash
-# Apple Silicon
+# Apple Silicon (macOS)
for tool in xlcat xlset xlfilter xldiff; do
curl -L "https://github.com/LouLouLibs/xl-cli-tools/releases/latest/download/${tool}-aarch64-apple-darwin" \
-o ~/.local/bin/$tool
done
chmod +x ~/.local/bin/xl{cat,set,filter,diff}
-# Intel Mac — replace aarch64 with x86_64
+# Linux (x86_64)
+for tool in xlcat xlset xlfilter xldiff; do
+ curl -L "https://github.com/LouLouLibs/xl-cli-tools/releases/latest/download/${tool}-x86_64-linux" \
+ -o ~/.local/bin/$tool
+done
+chmod +x ~/.local/bin/xl{cat,set,filter,diff}
```
### From source