test github...
This commit is contained in:
parent
d98f343cfa
commit
c907ab522a
1 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ runs:
|
|||
)"
|
||||
|
||||
# Store the outputs
|
||||
ARTIFACT_ID="$( echo "$RESPONSE" | sed -n 's/.*"artifactId" *: *"\([^"]\+\)".*/\1/p' )"
|
||||
ARTIFACT_ID="$( echo "$RESPONSE" | sed -n 's/.*"artifact_\?Id" *: *"\([^"]\+\)".*/\1/ip' )"
|
||||
echo artifact-id="$ARTIFACT_ID" >> $GITHUB_OUTPUT
|
||||
if [ "$GITHUB_SERVER_URL" = "https://github.com" ]; then
|
||||
echo artifact-url="$GITHUB_SERVER_URL"/"$GITHUB_REPOSITORY"/actions/runs/"$GITHUB_RUN_ID"/artifacts/"$ARTIFACT_ID" >> $GITHUB_OUTPUT
|
||||
|
@ -116,6 +116,6 @@ runs:
|
|||
fi
|
||||
|
||||
# Cleanup
|
||||
if [ "${{ inputs.compression }}" == "true" ]; then
|
||||
if [ "${{ inputs.compression }}" = "true" ]; then
|
||||
rm -f "$MYUPLOAD"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue