Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
plocket committed Sep 10, 2024
1 parent 5197ed1 commit 25a3241
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ runs:
DOCASSEMBLECLI_VERSION: ${{ inputs.DOCASSEMBLECLI_VERSION }}
shell: bash
run: |
log="💡 ALK0023 INFO: Set environment variables"
log="💡 ALK0023 INFO: Set environment variables and create artifacts folder"
# Human-readable date/time: https://www.shell-tips.com/linux/how-to-format-date-and-time-in-linux-macos-and-bash/#how-to-format-a-date-in-bash
timestamp="$(date +'%Y-%m-%d at %Hh%Mm%Ss' -u)"
artifact_folder="alkiln-${timestamp}UTC"
debug_path="${artifact_folder}/debug_log.txt"
mkdir -p "$artifact_path"
mkdir -p "$artifact_folder"
echo "$log" >> "$debug_path"
# Action-specific vars
Expand Down
8 changes: 3 additions & 5 deletions action_for_github_server/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,19 @@ runs:
- uses: actions/checkout@v4

- shell: bash
if: ${{ always() && env.OUTPUT_DOCKER == 'true' }}
name: "💡 ALK0018 INFO: Create artifact paths with date and time"
run: |
log="💡 ALK0018 INFO: Get path names with date and time"
timestamp="$(date +'%Y-%m-%d at %Hh%Mm%Ss' -u)"
debug_dir="/tmp"
debug_path="$debug_dir/alkiln_docker_logs-${timestamp}UTC.txt"
artifact_path="alkiln_github_server-${timestamp}UTC"
artifact_folder="alkiln_github_server-${timestamp}UTC"
mkdir -p "$debug_dir"
mkdir -p "$artifact_path"
mkdir -p "$artifact_folder"
echo -e "$log" >> "$debug_path"
echo "DEBUG_PATH=$debug_path" >> $GITHUB_ENV
echo "GITHUB_SERVER_ARTIFACT_NAME=$artifact_path" >> $GITHUB_ENV
echo "GITHUB_SERVER_ARTIFACT_NAME=$artifact_folder" >> $GITHUB_ENV
- shell: bash
env:
Expand Down
2 changes: 1 addition & 1 deletion tests/log_codes/log_code_expected_instances.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ALK0014:1
ALK0015:1
ALK0016:1
ALK0017:1
ALK0018:2
ALK0018:1
ALK0019:2
ALK0020:1
ALK0021:1
Expand Down

0 comments on commit 25a3241

Please sign in to comment.