Skip to content

Commit

Permalink
use galaxy-importer from pip
Browse files Browse the repository at this point in the history
  • Loading branch information
cicharka committed May 16, 2024
1 parent a0a3f33 commit ef2b87d
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/galaxy-importer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,35 @@ on:
- main

jobs:
galaxy_importer:
uses: ansible-network/github_actions/.github/workflows/galaxy_importer.yml@main
galaxy-importer:
runs-on:
- ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Set up venv
run: |
python -m pip install --upgrade pip
pip install virtualenv
mkdir venv
virtualenv venv/venv-2.16
- name: Install dependencies
run: |
source venv/venv-2.16/bin/activate
python -m pip install --upgrade pip
pip install ansible
pip install ansible-importer
pip install galaxy-importer
- name: Run ac-galaxy-importer
run: |
source venv/venv-2.16/bin/activate
./ac --ac-galaxy-importer

0 comments on commit ef2b87d

Please sign in to comment.