Build log formatting
Mockband / build (push) Successful in 27s
Details
Mockband / build (push) Successful in 27s
Details
This commit is contained in:
parent
7f32dec9f3
commit
3c80053cb7
|
@ -13,7 +13,7 @@ mkdir -p out/
|
||||||
|
|
||||||
while read variant vid pid flags; do
|
while read variant vid pid flags; do
|
||||||
log
|
log
|
||||||
log Building $vid $pid $product
|
log "Building $variant ($vid:$pid)"
|
||||||
log
|
log
|
||||||
|
|
||||||
# We can overload build.extra_flags from boards.txt,
|
# We can overload build.extra_flags from boards.txt,
|
||||||
|
|
|
@ -7,19 +7,16 @@ VERSION=$GITHUB_REF_NAME
|
||||||
|
|
||||||
BASE=$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION
|
BASE=$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION
|
||||||
|
|
||||||
echo "=== Delete existing version: $VERSION"
|
|
||||||
curl \
|
|
||||||
--include \
|
|
||||||
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
|
||||||
--request DELETE \
|
|
||||||
$BASE
|
|
||||||
|
|
||||||
for path in "$@"; do
|
for path in "$@"; do
|
||||||
fn=$(basename "$path")
|
fn=$(basename "$path")
|
||||||
echo "=== Upload $VERSION/$fn"
|
echo "=== Upload $VERSION/$fn"
|
||||||
|
curl \
|
||||||
|
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
||||||
|
--request DELETE \
|
||||||
|
$BASE/$fn
|
||||||
|
|
||||||
curl \
|
curl \
|
||||||
--fail \
|
--fail \
|
||||||
--include \
|
|
||||||
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
||||||
--upload-file "$path" \
|
--upload-file "$path" \
|
||||||
$BASE/$fn
|
$BASE/$fn
|
||||||
|
|
Loading…
Reference in New Issue