Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up the managed directories to avoid external side effect influence #15

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,25 @@ outputs:
runs:
using: composite
steps:
- name: Open an expandable block of code
run: >-
echo ::group::Ensure clean test environment
shell: bash
- name: Ensure clean test environment
run: >-
set -x
;
rm -rf
ansible_collections
.tmp-ansible-collection-checkout
;
set +x
shell: bash
- name: Close an expandable block of code
run: >-
echo ::endgroup::
shell: bash

- name: Open an expandable block of code
run: >-
echo ::group::Setting controller Python
Expand Down Expand Up @@ -156,7 +175,7 @@ runs:
echo ::group::Move "'${{ steps.collection-metadata.outputs.fqcn }}'"
collection to ${{ steps.collection-metadata.outputs.checkout-path }}...
shell: bash
- name: Install ansible-core (${{ inputs.ansible-core-version }})
- name: Move collection to test directory
exp-hc marked this conversation as resolved.
Show resolved Hide resolved
run: >-
set -x
;
Expand Down