@suffolklitlab/alkiln 5.13.0-logs1 → 5.13.0-logs2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action.yml +3 -1
- package/action_for_github_server/action.yml +10 -4
- package/package.json +1 -1
package/action.yml
CHANGED
|
@@ -78,7 +78,9 @@ runs:
|
|
|
78
78
|
echo "ARTIFACT_FOLDER=$artifact_folder" >> $GITHUB_ENV
|
|
79
79
|
debug_path="${artifact_folder}/debug_log.txt"
|
|
80
80
|
echo "DEBUG_PATH=$debug_path" >> $GITHUB_ENV
|
|
81
|
-
|
|
81
|
+
|
|
82
|
+
mkdir -p "$artifact_path"
|
|
83
|
+
echo "$log" >> "$debug_path"
|
|
82
84
|
|
|
83
85
|
echo "REPO_URL=${{ github.server_url }}/${{ github.repository }}" >> $GITHUB_ENV
|
|
84
86
|
echo "BRANCH_PATH=$BRANCH_PATH" >> $GITHUB_ENV
|
|
@@ -49,14 +49,20 @@ runs:
|
|
|
49
49
|
|
|
50
50
|
- shell: bash
|
|
51
51
|
if: ${{ always() && env.OUTPUT_DOCKER == 'true' }}
|
|
52
|
-
name: "💡 ALK0018 INFO:
|
|
52
|
+
name: "💡 ALK0018 INFO: Create artifact paths with date and time"
|
|
53
53
|
run: |
|
|
54
54
|
log="💡 ALK0018 INFO: Get path names with date and time"
|
|
55
55
|
timestamp="$(date +'%Y-%m-%d at %Hh%Mm%Ss' -u)"
|
|
56
|
+
debug_dir="/tmp"
|
|
57
|
+
debug_path="$debug_dir/alkiln_docker_logs-${timestamp}UTC.txt"
|
|
58
|
+
artifact_path="alkiln_github_server-${timestamp}UTC"
|
|
56
59
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
echo -e "$log" >> "$
|
|
60
|
+
mkdir -p "$debug_dir"
|
|
61
|
+
mkdir -p "$artifact_path"
|
|
62
|
+
echo -e "$log" >> "$debug_path"
|
|
63
|
+
|
|
64
|
+
echo "DEBUG_PATH=$debug_path" >> "$GITHUB_ENV"
|
|
65
|
+
echo "GITHUB_SERVER_ARTIFACT_NAME=$artifact_path" >> "$GITHUB_ENV"
|
|
60
66
|
|
|
61
67
|
- shell: bash
|
|
62
68
|
env:
|