Update action.yml

This commit is contained in:
linguist
2020-12-31 13:30:57 +01:00
parent c8df8bc43b
commit 94dd6b38f4

View File

@@ -362,8 +362,9 @@ runs:
steps: steps:
- run: | - run: |
# Parse source repository and ref # Parse source repository and ref
echo "METRICS_ACTION=$METRICS_ACTION"
METRICS_SOURCE=$(echo $METRICS_ACTION | sed -E 's/metrics.*?$//g') METRICS_SOURCE=$(echo $METRICS_ACTION | sed -E 's/metrics.*?$//g')
METRICS_REF=$(echo $METRICS_ACTION | sed -E 's/.*metrics//g') METRICS_REF=$(echo $METRICS_ACTION | sed -E 's/^.*metrics//g')
echo "Running on $METRICS_SOURCE/metrics@$METRICS_REF" echo "Running on $METRICS_SOURCE/metrics@$METRICS_REF"
# If using official action, run docker image from GitHub registry # If using official action, run docker image from GitHub registry