Make release

This commit is contained in:
AdityaGarg8 2021-11-20 13:02:47 +05:30 committed by GitHub
parent d3782e7f2e
commit 65d3abef78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 3 deletions

View File

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