try to publish artifacts
Mockband / build (push) Successful in 15s
Details
Mockband / build (push) Successful in 15s
Details
This commit is contained in:
parent
b1118e3894
commit
b3cc1252e1
|
@ -3,11 +3,12 @@
|
|||
set -e
|
||||
|
||||
PACKAGE=${GITHUB_REPOSITORY#*/}
|
||||
VERSION=$(date +%Y-%m-%dt%H.%M.%S)
|
||||
VERSION=$GITHUB_REF_NAME.$(date +%Y-%m-%dt%H.%M.%S)
|
||||
|
||||
for path in "$@"; do
|
||||
fn=$(basename "$path")
|
||||
curl \
|
||||
--include \
|
||||
--user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \
|
||||
--upload-file "$path" \
|
||||
$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn
|
||||
|
|
Loading…
Reference in New Issue