mirror of
https://github.com/aristocratos/btop.git
synced 2024-07-01 04:20:51 +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:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install g++, make
|
- name: Install build tools
|
||||||
run: |
|
run: |
|
||||||
apt update && \
|
apt update && \
|
||||||
apt install coreutils sed git build-essential gcc-11 g++-11 -y
|
apt install coreutils sed git build-essential gcc-11 g++-11 -y
|
||||||
- name: Build
|
- name: Compile
|
||||||
run: make
|
run: |
|
||||||
|
make STATIC=true
|
||||||
|
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA")
|
||||||
|
mv bin/btop bin/btop-$GIT_HASH
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Upload built binary
|
name: Btop
|
||||||
path: 'bin/btop'
|
path: 'bin/btop-*'
|
Loading…
Reference in a new issue