diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 22f213f..321e98f 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -122,13 +122,6 @@ jobs: shell: bash run: tar --directory=${{ env.TARGET_DIR }} -czvf ${{ env.ARTIFACT_DIR }}/${{ env.ARTIFACT_NAME }}.tar.gz solrcopy - - name: Make a Windows zip package - if: matrix.platform == 'windows' - shell: bash - run: | - ls -lshFGHL ${{ env.TARGET_DIR }} - zip -j ${{ env.ARTIFACT_DIR }}/${{ env.ARTIFACT_NAME }}.zip ${{ env.TARGET_DIR }}/solrcopy.exe - - name: Make the debian package if: matrix.platform == 'linux' shell: bash @@ -139,6 +132,14 @@ jobs: shell: bash run: cargo generate-rpm --profile release --output ${{ env.ARTIFACT_DIR }}/${{ env.ARTIFACT_NAME }}.rpm + - name: Make a Windows zip package + if: matrix.platform == 'windows' + shell: bash + run: | + ls -lshFGHL ${{ env.TARGET_DIR }} + # zip -j ${{ env.ARTIFACT_DIR }}/${{ env.ARTIFACT_NAME }}.zip ${{ env.TARGET_DIR }}/solrcopy.exe + 7z a -y -tzip ${{ env.ARTIFACT_DIR }}/${{ env.ARTIFACT_NAME }}.zip ${{ env.TARGET_DIR }}/solrcopy.exe + # endregion # region Upload Artifact