mirror of https://github.com/marcosfad/mbp-ubuntu
Update CI.yml (#1)
This commit is contained in:
parent
82512a2415
commit
3fbc0dd504
|
@ -39,18 +39,12 @@ jobs:
|
||||||
echo unzip cd.zip
|
echo unzip cd.zip
|
||||||
EOF
|
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
|
- name: Release
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/test'
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: ${{ github.workspace }}/output/${{ github.workspace }}/*
|
files: ${{ github.workspace }}/*.iso
|
||||||
tag_name: v20.04-${{ steps.tag.outputs.tag }}
|
tag_name: v20.04-${{ steps.tag.outputs.tag }}-test
|
||||||
draft: true
|
draft: true
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue