Skip to content

Commit

Permalink
Merge pull request #11 from jburel/update
Browse files Browse the repository at this point in the history
Fix warning
  • Loading branch information
jburel committed Jan 16, 2024
2 parents a098654 + 3c9230f commit 740aaa1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.9'
- name: Install Ansible & Molecule
run: |
pip install "ansible<8" "ansible-lint<6.13" flake8
Expand All @@ -41,8 +41,6 @@ jobs:
- name: Run molecule
run: molecule test -s "${{ matrix.scenario }}"



publish:
name: Galaxy
if: startsWith(github.ref, 'refs/tags')
Expand All @@ -54,7 +52,8 @@ jobs:
- name: Read the role name
id: role-name
run: |
name=$(grep 'role_name' meta/main.yml | sed -r 's/^[^:]*:(.*)$/\1/' | tr -d '[:space:]') # noqa
name=$(grep 'role_name' meta/main.yml)
name=$(echo $name | sed -r 's/^[^:]*:(.*)$/\1/' | tr -d '[:space:]')
echo "rolename=$name" >> "$GITHUB_OUTPUT"
- name: Publish to Galaxy
uses: ome/action-ansible-galaxy-publish@main
Expand Down

0 comments on commit 740aaa1

Please sign in to comment.