From 4601bfe6628a9bd81f14e96c0cfc7765ca94935f Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Thu, 9 May 2024 23:02:35 +0530 Subject: [PATCH] Remove unnecessary compress iso step --- .github/workflows/CI.yml | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 51bc756..a8b39b9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -48,16 +48,6 @@ jobs: echo unzip cd.zip EOF - - name: Compress ISO - run: | - cd ${{ github.workspace }} - mkdir ISO - mv ${{ github.workspace }}/*.iso ${{ github.workspace }}/ISO - cd ISO - ISONAME=$(ls ${{ github.workspace }}/ISO | grep .iso | rev | cut -c 5- | rev) - tar -czvf ${ISONAME}.tar.gz ${ISONAME}.iso - ls -l - - name: Get the ISO script run: | sudo cp ${{ github.workspace }}/.github/workflows/iso.sh ${{ github.workspace }}/output/iso.sh @@ -117,16 +107,6 @@ jobs: echo unzip cd.zip EOF - - name: Compress ISO - run: | - cd ${{ github.workspace }} - mkdir ISO - mv ${{ github.workspace }}/*.iso ${{ github.workspace }}/ISO - cd ISO - ISONAME=$(ls ${{ github.workspace }}/ISO | grep .iso | rev | cut -c 5- | rev) - tar -czvf ${ISONAME}.tar.gz ${ISONAME}.iso - ls -l - - name: Release if: github.ref == 'refs/heads/main' uses: softprops/action-gh-release@v2 @@ -182,16 +162,6 @@ jobs: echo unzip cd.zip EOF - - name: Compress ISO - run: | - cd ${{ github.workspace }} - mkdir ISO - mv ${{ github.workspace }}/*.iso ${{ github.workspace }}/ISO - cd ISO - ISONAME=$(ls ${{ github.workspace }}/ISO | grep .iso | rev | cut -c 5- | rev) - tar -czvf ${ISONAME}.tar.gz ${ISONAME}.iso - ls -l - - name: Release if: github.ref == 'refs/heads/main' uses: softprops/action-gh-release@v2 @@ -204,4 +174,4 @@ jobs: draft: false prerelease: false env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}