Skip to content

Commit

Permalink
2022.09.08:
Browse files Browse the repository at this point in the history
* fixed: action.yml: multiline input in `${{ input.env }}`
  • Loading branch information
andry81 committed Sep 8, 2022
1 parent 04cc85a commit 36b679a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,13 @@ runs:
- name: declare variables from lists
shell: bash
run: |
# suppress not zero exit code
{ IFS=$' \t' read -r -d '' INPUT_ENV || (( 1 )); } <<::EOF::
${{ inputs.env }}
::EOF::
INPUT_ENV="${INPUT_ENV//[$'\n\r']/}" # remove all line returns
$GH_WORKFLOW_ROOT/bash/github/set-env-from-args.sh \
${{ inputs.env }} \
${INPUT_ENV} \
"GHWF_GITHUB_ACTIONS_RUN_URL=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
- name: variables validation
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2022.09.08:
* fixed: action.yml: multiline input in `${{ input.env }}`

2022.09.08:
* new: action.yml: print changelog file path into pipeline log
* new: action.yml: print topic query URL into pipeline log
Expand Down
3 changes: 3 additions & 0 deletions userlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
> :warning: to find all changes use [changelog.txt](https://github.com/andry81-devops/gh-action--accum-inpage-downloads/blob/master/changelog.txt) file in a directory
## 2022.09.08:
* fixed: action.yml: multiline input in `${{ input.env }}`

## 2022.08.26:
* new: action.yml: added `ENABLE_GITHUB_ACTIONS_RUN_URL_PRINT_TO_CHANGELOG` and `GHWF_GITHUB_ACTIONS_RUN_URL` variables to be able to print GitHub Actions run URL into the changelog file

Expand Down

0 comments on commit 36b679a

Please sign in to comment.