Skip to content

Commit

Permalink
Remove unnecessary compress iso step
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 authored May 9, 2024
1 parent 89ae85c commit 4601bfe
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -204,4 +174,4 @@ jobs:
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4601bfe

Please sign in to comment.