From 3fbc0dd5041a15e3af50ab3b4df3b1c433401a14 Mon Sep 17 00:00:00 2001 From: AdityaGarg8 <85610623+AdityaGarg8@users.noreply.github.com> Date: Sat, 20 Nov 2021 13:50:16 +0530 Subject: [PATCH] Update CI.yml (#1) --- .github/workflows/CI.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e8bed27..85eb6c9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,19 +38,13 @@ 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: | - sudo su - 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' + if: github.ref == 'refs/heads/test' uses: softprops/action-gh-release@v1 with: - files: ${{ github.workspace }}/output/${{ github.workspace }}/* - tag_name: v20.04-${{ steps.tag.outputs.tag }} + files: ${{ github.workspace }}/*.iso + tag_name: v20.04-${{ steps.tag.outputs.tag }}-test draft: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}