mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-24 17:10:43 +12:00
Rename binary to git hash
This commit is contained in:
parent
72ed836144
commit
28ab3d9c1a
13
.github/workflows/continuous-build.yml
vendored
13
.github/workflows/continuous-build.yml
vendored
|
@ -11,14 +11,17 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install g++, make
|
||||
- name: Install build tools
|
||||
run: |
|
||||
apt update && \
|
||||
apt install coreutils sed git build-essential gcc-11 g++-11 -y
|
||||
- name: Build
|
||||
run: make
|
||||
- name: Compile
|
||||
run: |
|
||||
make STATIC=true
|
||||
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
|
||||
mv bin/btop bin/btop-$GIT_HASH
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Upload built binary
|
||||
path: 'bin/btop'
|
||||
name: Btop
|
||||
path: 'bin/btop-*'
|
Loading…
Reference in a new issue