staticbuilds: Rename files

Use x86_64 instead of amd64 because that's what uname calls it,
and try to get the version in there.
This commit is contained in:
Fabian Boehm
2025-03-13 16:32:41 +01:00
parent 1477bf7a54
commit 6d93e6324a

View File

@@ -39,14 +39,13 @@ jobs:
test -e tests/test_driver.py && tests/test_driver.py -f /tmp target/x86_64-unknown-linux-musl/release/
- name: Compress
run: |
tar -cazf fish-amd64.tar.xz -C target/x86_64-unknown-linux-musl/release/ fish
tar -cazf fish-aarch64.tar.xz -C target/aarch64-unknown-linux-musl/release/ fish
tar -cazf fish-static-x86_64-$(git describe).tar.xz -C target/x86_64-unknown-linux-musl/release/ fish
tar -cazf fish-static-aarch64-$(git describe).tar.xz -C target/aarch64-unknown-linux-musl/release/ fish
- uses: actions/upload-artifact@v4
with:
name: fish-static-linux
path: |
fish-amd64.tar.xz
fish-aarch64.tar.xz
fish-*.tar.xz
retention-days: 14
staticbuilds-macos:
@@ -72,11 +71,10 @@ jobs:
- name: Compress
run: |
tar -cazf fish-macos-aarch64.tar.xz -C target/aarch64-apple-darwin/release/ fish
tar -cazf fish-macos-amd64.tar.xz -C target/x86_64-apple-darwin/release/ fish
tar -cazf fish-macos-x86_64.tar.xz -C target/x86_64-apple-darwin/release/ fish
- uses: actions/upload-artifact@v4
with:
name: fish-static-macos
path: |
fish-macos-amd64.tar.xz
fish-macos-aarch64.tar.xz
fish-macos-*.tar.xz
retention-days: 14