mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-23 05:34:57 +02:00
deployment: deletes the debian folder in case of unwanted leftover files (#740)
Deletes the generated debian folder in nightly/deploy workflows, as I don't want to cache it.
This commit is contained in:
parent
96d5b9b87d
commit
54d042ac56
6
.github/workflows/deployment.yml
vendored
6
.github/workflows/deployment.yml
vendored
@ -343,7 +343,6 @@ jobs:
|
|||||||
use-cross: ${{ matrix.tuple.cross }}
|
use-cross: ${{ matrix.tuple.cross }}
|
||||||
|
|
||||||
- name: Zip manpage
|
- name: Zip manpage
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
gzip ./manpage/btm.1
|
gzip ./manpage/btm.1
|
||||||
|
|
||||||
@ -366,6 +365,11 @@ jobs:
|
|||||||
dpkg -I ./bottom_${{ matrix.tuple.target }}.deb
|
dpkg -I ./bottom_${{ matrix.tuple.target }}.deb
|
||||||
dpkg -I ./bottom_${{ matrix.tuple.target }}.deb | grep ${{ matrix.tuple.dpkg }} && echo "Found correct architecture"
|
dpkg -I ./bottom_${{ matrix.tuple.target }}.deb | grep ${{ matrix.tuple.dpkg }} && echo "Found correct architecture"
|
||||||
|
|
||||||
|
- name: Delete generated Debian folder
|
||||||
|
run: |
|
||||||
|
sudo chown $USER ./target/${{ matrix.tuple.target }}/debian/ 2>/dev/null || true
|
||||||
|
rm -r ./target/${{ matrix.tuple.target }}/debian/
|
||||||
|
|
||||||
- name: Create release directory for artifact, move file
|
- name: Create release directory for artifact, move file
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
6
.github/workflows/nightly.yml
vendored
6
.github/workflows/nightly.yml
vendored
@ -337,7 +337,6 @@ jobs:
|
|||||||
use-cross: ${{ matrix.tuple.cross }}
|
use-cross: ${{ matrix.tuple.cross }}
|
||||||
|
|
||||||
- name: Zip manpage
|
- name: Zip manpage
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
gzip ./manpage/btm.1
|
gzip ./manpage/btm.1
|
||||||
|
|
||||||
@ -360,6 +359,11 @@ jobs:
|
|||||||
dpkg -I ./bottom_${{ matrix.tuple.target }}.deb
|
dpkg -I ./bottom_${{ matrix.tuple.target }}.deb
|
||||||
dpkg -I ./bottom_${{ matrix.tuple.target }}.deb | grep ${{ matrix.tuple.dpkg }} && echo "Found correct architecture"
|
dpkg -I ./bottom_${{ matrix.tuple.target }}.deb | grep ${{ matrix.tuple.dpkg }} && echo "Found correct architecture"
|
||||||
|
|
||||||
|
- name: Delete generated Debian folder
|
||||||
|
run: |
|
||||||
|
sudo chown $USER ./target/${{ matrix.tuple.target }}/debian/ 2>/dev/null || true
|
||||||
|
rm -r ./target/${{ matrix.tuple.target }}/debian/
|
||||||
|
|
||||||
- name: Create release directory for artifact, move file
|
- name: Create release directory for artifact, move file
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user