try to publish artifacts
Mockband / build (push) Successful in 16s
Details
Mockband / build (push) Successful in 16s
Details
This commit is contained in:
parent
af0c088401
commit
1b884c7fe8
|
@ -7,13 +7,11 @@ VERSION=$GITHUB_REF_NAME.$(date +%Y-%m-%dt%H.%M.%S)
|
|||
|
||||
for path in "$@"; do
|
||||
fn=$(basename "$path")
|
||||
url=$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
|
||||
echo $url
|
||||
set
|
||||
echo "=== $fn"
|
||||
curl \
|
||||
--fail \
|
||||
--include \
|
||||
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
||||
--upload-file "$path" \
|
||||
$url
|
||||
$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue