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
|
for path in "$@"; do
|
||||||
fn=$(basename "$path")
|
fn=$(basename "$path")
|
||||||
url=$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
|
echo "=== $fn"
|
||||||
echo $url
|
|
||||||
set
|
|
||||||
curl \
|
curl \
|
||||||
--fail \
|
--fail \
|
||||||
--include \
|
--include \
|
||||||
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
||||||
--upload-file "$path" \
|
--upload-file "$path" \
|
||||||
$url
|
$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue