@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 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
- echo "$log" >> "${debug_path}"
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: Get path names with date and time"
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
- echo "DEBUG_PATH=/tmp/alkiln_docker_logs-${timestamp}UTC.txt" >> "$GITHUB_ENV"
58
- echo "GITHUB_SERVER_ARTIFACT_NAME=alkiln_github_server-${timestamp}UTC" >> "$GITHUB_ENV"
59
- echo -e "$log" >> "$DEBUG_PATH"
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:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suffolklitlab/alkiln",
3
- "version": "5.13.0-logs1",
3
+ "version": "5.13.0-logs2",
4
4
  "description": "Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {