mirror of https://github.com/marcosfad/mbp-ubuntu
Make release
This commit is contained in:
parent
d3782e7f2e
commit
65d3abef78
|
@ -11,8 +11,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: echo "${{ github.workspace }}"
|
run: sudo ./build.sh
|
||||||
sudo ./build.sh
|
|
||||||
|
|
||||||
- name: print sha256sum
|
- name: print sha256sum
|
||||||
run: cat output/sha256
|
run: cat output/sha256
|
||||||
|
@ -39,11 +38,17 @@ jobs:
|
||||||
cat livecd-${{ steps.tag.outputs.tag }}-t2-big-sur.z?? > cd.zip
|
cat livecd-${{ steps.tag.outputs.tag }}-t2-big-sur.z?? > cd.zip
|
||||||
echo unzip cd.zip
|
echo unzip cd.zip
|
||||||
EOF
|
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
|
- name: Release
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: ${{ github.workspace }}/output/*
|
files: ${{ github.workspace }}/output/${{ github.workspace }}/*
|
||||||
tag_name: v20.04-${{ steps.tag.outputs.tag }}
|
tag_name: v20.04-${{ steps.tag.outputs.tag }}
|
||||||
draft: true
|
draft: true
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue