summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build_releases.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build_releases.yml')
-rw-r--r--.github/workflows/build_releases.yml22
1 files changed, 17 insertions, 5 deletions
diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml
index e1acbd74..f7dfb4bd 100644
--- a/.github/workflows/build_releases.yml
+++ b/.github/workflows/build_releases.yml
@@ -44,6 +44,7 @@ jobs:
os: "ubuntu-20.04",
target: "x86_64-unknown-linux-gnu",
cross: false,
+ generate-other-artifacts: true,
}
- {
os: "ubuntu-20.04",
@@ -182,21 +183,27 @@ jobs:
mkdir release
mv ${{ env.ASSET }} release/
- - name: Compress completion files (Linux x86-64 GNU)
- if: matrix.info.target == 'x86_64-unknown-linux-gnu' && matrix.info.container == ''
+ - name: Compress completion files
+ if: matrix.info.generate-other-artifacts == true
shell: bash
run: |
tar -C ./completion -czvf completion.tar.gz .
mv completion.tar.gz release/
- - name: Compress manpage files (Linux x86-64 GNU)
- if: matrix.info.target == 'x86_64-unknown-linux-gnu' && matrix.info.container == ''
+ - name: Compress manpage files
+ if: matrix.info.generate-other-artifacts == true
shell: bash
run: |
gzip ./manpage/btm.1
tar -C ./manpage -czvf manpage.tar.gz .
mv manpage.tar.gz release/
+ - name: Copy over .desktop file
+ if: matrix.info.generate-other-artifacts == true
+ shell: bash
+ run: |
+ cp ./desktop/bottom.desktop release/
+
- name: Save release as artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
@@ -290,7 +297,12 @@ jobs:
matrix:
info:
- { target: "x86_64-unknown-linux-gnu", cross: false, dpkg: amd64 }
- - { target: "x86_64-unknown-linux-musl", cross: false, dpkg: amd64, rust: "1.71.0" }
+ - {
+ target: "x86_64-unknown-linux-musl",
+ cross: false,
+ dpkg: amd64,
+ rust: "1.71.0",
+ }
- {
target: "aarch64-unknown-linux-gnu",
cross: true,