mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-12 21:55:47 +00:00
ci: remove zip dependency for windows (#509)
Removes the zip dependency for nightly and deploy actions.
This commit is contained in:
@@ -175,12 +175,6 @@ jobs:
|
||||
# shell: powershell
|
||||
# run: export PATH=${PATH}:"/c/Program Files (x86)/WiX Toolset v3.11/bin"
|
||||
|
||||
- name: Install zip (Windows)
|
||||
if: matrix.triple.os == 'windows-2019'
|
||||
uses: crazy-max/ghaction-chocolatey@v1.4.0
|
||||
with:
|
||||
args: install -y zip
|
||||
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
@@ -213,7 +207,8 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
cp target/${{ matrix.triple.target }}/release/btm.exe btm.exe
|
||||
zip -r bottom_${{ matrix.triple.target }}.zip "btm.exe" "completion"
|
||||
7z a bottom_${{ matrix.triple.target }}.zip "btm.exe"
|
||||
7z a bottom_${{ matrix.triple.target }}.zip "completion"
|
||||
echo "ASSET=bottom_${{ matrix.triple.target }}.zip" >> $GITHUB_ENV
|
||||
|
||||
- name: Bundle release and completion (Linux and macOS)
|
||||
@@ -392,7 +387,7 @@ jobs:
|
||||
tar -C ./completion -czvf completion.tar.gz .
|
||||
|
||||
- name: Release completion files (Linux x86-64 GNU)
|
||||
if: matrix.triple.target == 'x86_64-unknown-linux-gnu' && matrix.triple.container == '' && github.event.inputs.isMock == ''
|
||||
if: matrix.triple.target == 'x86_64-unknown-linux-gnu' && matrix.triple.container == ''
|
||||
uses: actions/upload-release-asset@v1.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user