Skip to content

Commit

Permalink
2022.04.16:
Browse files Browse the repository at this point in the history
* fixed: action.yml: `mkdir` in a working copy moved after git checkout instead of before to avoid accidental remove on cleanup
* changed: action.yml: added `mkdir-p` parameter usage
* changed: README.md: readme update
  • Loading branch information
andry81 committed Apr 16, 2022
1 parent fe716d2 commit 43e5930
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ jobs:

## <a name="known_issues">Known Issues</a>

https://github.com/andry81/github-accum-stats/blob/master/README.md#known_issues
https://github.com/andry81-devops/github-accum-stats/blob/master/README.md#known_issues

## <a name="known_issues_updates">Last known updates on composite actions features</a>

https://github.com/andry81/github-accum-stats/blob/master/README.md#known_issues_updates
https://github.com/andry81-devops/github-accum-stats/blob/master/README.md#known_issues_updates

## <a name="copyright-and-license">Copyright and License</a>

Expand Down
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ runs:
run: |
echo "GH_WORKFLOW_ROOT=$GITHUB_WORKSPACE/gh-workflow" >> $GITHUB_ENV
- name: allocate gh-workflow directory
shell: bash
run: |
mkdir -p $GH_WORKFLOW_ROOT
- name: checkout gh-workflow@${{ inputs.deps_repo_branch }}
uses: andry81-devops/gh-action--git-checkout@master
with:
Expand All @@ -91,6 +86,9 @@ runs:
path: gh-workflow
token: ${{ inputs.deps_repo_read_token }}

mkdir-p: >-
${{ env.GH_WORKFLOW_ROOT }}
- name: update permissions
shell: bash
run: |
Expand Down Expand Up @@ -120,7 +118,6 @@ runs:
- name: allocate directories
shell: bash
run: |
mkdir -p $GITHUB_WORKSPACE/inpage-downloads/${{ inputs.output_repo_dir }}
echo "WORKFLOW_TEMPDIR=$(mktemp -d)" >> $GITHUB_ENV
- name: head annotations
Expand All @@ -137,6 +134,9 @@ runs:
path: inpage-downloads
token: ${{ inputs.output_repo_write_token }}

mkdir-p: >-
${{ inputs.output_repo_dir }}
- name: accumulate ${{ inputs.stat_entity_path }}
id: accum-downloads
shell: bash
Expand Down
7 changes: 6 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2022.04.16:
* fixed: action.yml: `mkdir` in a working copy moved after git checkout instead of before to avoid accidental remove on cleanup
* changed: action.yml: added `mkdir-p` parameter usage
* changed: README.md: readme update

2022.04.15:
* changed: action.yml: switched to use `andry81-devops/gh-action--git-checkout` action instead of `actions/checkout`

Expand Down Expand Up @@ -95,6 +100,6 @@

2021.12.05:
* new: `changelog.txt` changelog file
* new: `userlog.txt` userlog file
* new: `userlog.md` userlog file
* new: `license.txt` license file
* changed: action.yml: removed usage of the `write_error_to_file` and `write_warning_to_file` environment variables as not required anymore
4 changes: 4 additions & 0 deletions userlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
> :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.04.16:
* fixed: action.yml: `mkdir` in a working copy moved after git checkout instead of before to avoid accidental remove on cleanup
* changed: action.yml: added `mkdir-p` parameter usage

## 2022.04.15:
* changed: action.yml: switched to use `andry81-devops/gh-action--git-checkout` action instead of `actions/checkout`

Expand Down

0 comments on commit 43e5930

Please sign in to comment.