diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2021-06-21 16:56:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 19:56:59 -0400 |
commit | fcfd02a3f96ff4f7d82892296924029734839d16 (patch) | |
tree | 6268cab96a0b2cbda3ec890d0a41b33351717899 /.github/workflows/deployment.yml | |
parent | a3660bd27e8641db01c1ef707d22b369e02ac76e (diff) |
ci: remove zip dependency for windows (#509)
Removes the zip dependency for nightly and deploy actions.
Diffstat (limited to '.github/workflows/deployment.yml')
-rw-r--r-- | .github/workflows/deployment.yml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index fb62112f..8ad3dddc 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -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 }} |