mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-28 05:10:44 +00:00
ci: ⚡️ Update binary_name
This commit is contained in:
parent
9326f3f200
commit
4439c4aeb0
12
.github/workflows/cd.yaml
vendored
12
.github/workflows/cd.yaml
vendored
@ -16,29 +16,19 @@ jobs:
|
||||
matrix:
|
||||
job:
|
||||
- os: macos-latest
|
||||
os-name: macos
|
||||
target: x86_64-apple-darwin
|
||||
architecture: x86_64
|
||||
binary-postfix: ""
|
||||
- os: ubuntu-latest
|
||||
os-name: linux
|
||||
target: x86_64-unknown-linux-gnu
|
||||
architecture: x86_64
|
||||
binary-postfix: ""
|
||||
- os: windows-latest
|
||||
os-name: windows
|
||||
target: x86_64-pc-windows-msvc
|
||||
architecture: x86_64
|
||||
binary-postfix: ".exe"
|
||||
- os: ubuntu-latest
|
||||
os-name: linux
|
||||
target: aarch64-unknown-linux-gnu
|
||||
architecture: arm64
|
||||
binary-postfix: ""
|
||||
- os: macos-latest
|
||||
os-name: macos
|
||||
target: aarch64-apple-darwin
|
||||
architecture: arm64
|
||||
binary-postfix: ""
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@ -78,7 +68,7 @@ jobs:
|
||||
"$GCC_PREFIX"strip $BINARY_NAME
|
||||
|
||||
########## create tar.gz ##########
|
||||
RELEASE_NAME=espup-${GITHUB_REF/refs\/tags\//}-${{ matrix.job.os-name }}-${{ matrix.job.architecture }}
|
||||
RELEASE_NAME=espup-${{ matrix.job.target }}
|
||||
tar czvf $RELEASE_NAME.tar.gz $BINARY_NAME
|
||||
|
||||
########## create sha256 ##########
|
||||
|
Loading…
x
Reference in New Issue
Block a user