Remove explicit home specification #83
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: molecule | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v*.*.* | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
distro: | |
- ubuntu2004 | |
- ubuntu1804 | |
- ubuntu1604 | |
- centos7 | |
- centos8 | |
- debian10 | |
- fedora29 | |
steps: | |
- name: checkout the repository | |
uses: actions/checkout@v2 | |
with: | |
path: "${{ github.repository }}" | |
- name: run molecule | |
uses: robertdebock/[email protected] | |
env: | |
MOLECULE_DISTRO: ${{ matrix.distro }} | |
deploy: | |
needs: | |
- test | |
runs-on: ubuntu-latest | |
steps: | |
- name: to Ansible Galaxy | |
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.head_ref == 'main') | |
uses: robertdebock/[email protected] | |
with: | |
galaxy_api_key: ${{ secrets.GALAXY_API_KEY }} | |
git_branch: main |