create release automatically
This commit is contained in:
parent
8e51654190
commit
d6ffc7d9be
|
@ -3,7 +3,7 @@ run-name: Build the shimboot disk image for all boards
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
main:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
board: [dedede, octopus]
|
||||
|
@ -22,3 +22,10 @@ jobs:
|
|||
name: shimboot_${{ matrix.board }}
|
||||
path: data/shimboot_${{ matrix.board }}.zip
|
||||
compression-level: 0
|
||||
|
||||
- name: create release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
draft: true
|
||||
files: data/shimboot_${{ matrix.board }}.zip
|
|
@ -68,7 +68,8 @@ safe_mount() {
|
|||
umount $2 2> /dev/null || /bin/true
|
||||
rm -rf $2
|
||||
mkdir -p $2
|
||||
mount $1 $2 || mount $1 $2 || mount $1 $2 || mount $1 $2 #try to mount multiple times
|
||||
#try to mount multiple times
|
||||
mount $1 $2 || mount $1 $2 || mount $1 $2 || mount $1 $2
|
||||
}
|
||||
|
||||
create_partitions() {
|
||||
|
|
Loading…
Reference in New Issue