Update CI.yml

This commit is contained in:
AdityaGarg8 2021-11-20 13:27:11 +05:30 committed by GitHub
parent 82512a2415
commit 04ebc4d3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 10 deletions

View File

@ -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 }}