mirror of https://github.com/marcosfad/mbp-ubuntu
Update CI.yml
This commit is contained in:
parent
dd34994c66
commit
c5b40d512b
|
@ -43,15 +43,18 @@ jobs:
|
|||
- name: Compress ISO
|
||||
run: |
|
||||
cd ${{ github.workspace }}
|
||||
ISONAME=$(ls ${{ github.workspace }} | grep .iso | rev | cut -c 5- | rev)
|
||||
tar -czvf ${ISONAME}.tar.gz ${{ github.workspace }}/${ISONAME}.iso
|
||||
mkdir ISO
|
||||
mv ${{ github.workspace }}/*.iso ${{ github.workspace }}/ISO
|
||||
cd ISO
|
||||
ISONAME=$(ls ${{ github.workspace }}/ISO | grep .iso | rev | cut -c 5- | rev)
|
||||
tar -czvf ${ISONAME}.tar.gz ${{ github.workspace }}/ISO/${ISONAME}.iso
|
||||
ls -l
|
||||
|
||||
- name: Release
|
||||
if: github.ref == 'refs/heads/kinetic-16,4'
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: ${{ github.workspace }}/*.tar.gz
|
||||
files: ${{ github.workspace }}/ISO/*.tar.gz
|
||||
tag_name: v${{ steps.tag.outputs.tag }}
|
||||
body_path: ${{ github.workspace }}/.github/workflows/instructions.txt
|
||||
draft: false
|
||||
|
|
Loading…
Reference in New Issue