mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-16 04:17:56 +08:00
make target mandatory input
This commit is contained in:
@@ -11,23 +11,31 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- target: aarch64-apple-darwin
|
||||
artifact: macos.aarch64
|
||||
os: macos-14
|
||||
- target: aarch64-unknown-linux-musl
|
||||
artifact: linux.aarch64
|
||||
os: ubuntu-latest
|
||||
- target: armv6l-unknown-linux-musleabihf
|
||||
artifact: linux.armv6l
|
||||
os: ubuntu-latest
|
||||
- target: armv7l-unknown-linux-musleabihf
|
||||
artifact: linux.armv7l
|
||||
os: ubuntu-latest
|
||||
- target: i686-unknown-linux-musl
|
||||
artifact: linux.i686
|
||||
os: ubuntu-latest
|
||||
- target: i686-w64-mingw32
|
||||
artifact: windows.i686
|
||||
os: ubuntu-latest
|
||||
# FIXME
|
||||
# - target: i686-w64-mingw32
|
||||
# os: ubuntu-latest
|
||||
- target: x86_64-apple-darwin
|
||||
artifact: macos.x86_64
|
||||
os: macos-13
|
||||
- target: x86_64-unknown-linux-musl
|
||||
artifact: linux.x86_64
|
||||
os: ubuntu-latest
|
||||
- target: x86_64-w64-mingw32
|
||||
artifact: windows.x86_64
|
||||
os: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -37,7 +45,6 @@ jobs:
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-24.05
|
||||
enable_kvm: true
|
||||
# extra_nix_config: "experimental-features = nix-command flakes"
|
||||
- name: Cache Nix store
|
||||
uses: cachix/cachix-action@v15
|
||||
with:
|
||||
@@ -50,7 +57,7 @@ jobs:
|
||||
- name: Upload release artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "himalaya.${{ matrix.target }}"
|
||||
name: "himalaya.${{ matrix.artifact }}"
|
||||
path: |
|
||||
result/bin/himalaya*
|
||||
result/bin/share
|
||||
|
||||
Reference in New Issue
Block a user