Merge branch 'podmansuppor' #35
This file contains 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: Publish new version to Galaxy | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4.2.2 | |
- name: Set up Python 3. | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Install Ansible. | |
run: pip3 install -r requirements.txt | |
- name: Trigger a new import on Galaxy. | |
run: ansible-galaxy role import --token ${{ secrets.GALAXY_API_KEY }} --branch main $(echo ${{ github.repository }} | cut -d/ -f1 | tr '[:upper:]' '[:lower:]') $(echo ${{ github.repository }} | cut -d/ -f2 | tr '[:upper:]' '[:lower:]') |