renamed pip install task to avoid confusion with apt install task, 1st publish
This commit is contained in:
parent
2e1cc0a7da
commit
5269f17583
18
.github/workflows/publish.yml
vendored
Normal file
18
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
name: publish
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
name: Publish to galaxy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Publish
|
||||||
|
uses: ednxzu/galaxy-import-role@v1
|
||||||
|
with:
|
||||||
|
galaxy-api-key: ${{ secrets.GALAXY_API_TOKEN }}
|
@ -4,7 +4,7 @@
|
|||||||
ansible.builtin.include_tasks: prerequisites.yml
|
ansible.builtin.include_tasks: prerequisites.yml
|
||||||
when: manage_pip_packages_install_prereqs
|
when: manage_pip_packages_install_prereqs
|
||||||
|
|
||||||
- name: "Install/remove required packages"
|
- name: "Install/remove required pip packages"
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name: "{{ item.name }}{% if item.version_constraint not in [None, '', 'latest'] %}{{ item.version_constraint }}{% endif %}"
|
name: "{{ item.name }}{% if item.version_constraint not in [None, '', 'latest'] %}{{ item.version_constraint }}{% endif %}"
|
||||||
state: "{{ item.state }}"
|
state: "{{ item.state }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user