From 65d3abef7879f3c62adadb98419b19c962d0e674 Mon Sep 17 00:00:00 2001 From: AdityaGarg8 <85610623+AdityaGarg8@users.noreply.github.com> Date: Sat, 20 Nov 2021 13:02:47 +0530 Subject: [PATCH] Make release --- .github/workflows/CI.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e592592..57a1c68 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,8 +11,7 @@ jobs: - uses: actions/checkout@v2 - name: Build - run: echo "${{ github.workspace }}" - sudo ./build.sh + run: sudo ./build.sh - name: print sha256sum run: cat output/sha256 @@ -39,11 +38,17 @@ jobs: cat livecd-${{ steps.tag.outputs.tag }}-t2-big-sur.z?? > cd.zip echo unzip cd.zip EOF + + - name: Put ISO back for release + run: | + cd ${{ github.workspace }}/output + cat livecd-${{ steps.tag.outputs.tag }}-t2-big-sur.z?? > cd.zip + unzip cd.zip - name: Release if: github.ref == 'refs/heads/master' uses: softprops/action-gh-release@v1 with: - files: ${{ github.workspace }}/output/* + files: ${{ github.workspace }}/output/${{ github.workspace }}/* tag_name: v20.04-${{ steps.tag.outputs.tag }} draft: true env: