mirror of
https://github.com/kewlfft/ansible-aur.git
synced 2025-09-17 00:20:38 +03:00
Remove setup-python action
Ansible (and ansible-core) is already installed in the runner images which should be enough to interact with ansible galaxy without needing to install any additional packages.
This commit is contained in:
12
.github/workflows/galaxy.yml
vendored
12
.github/workflows/galaxy.yml
vendored
@@ -25,18 +25,6 @@ jobs:
|
|||||||
[ "$(cat galaxy.yml | grep version: | awk '{print $2}')" = $(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF}) ] || exit 1
|
[ "$(cat galaxy.yml | grep version: | awk '{print $2}')" = $(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF}) ] || exit 1
|
||||||
echo "version=$(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF})" >> $GITHUB_OUTPUT
|
echo "version=$(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF})" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: "Set up Python"
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.13"
|
|
||||||
cache: 'pip'
|
|
||||||
|
|
||||||
- name: Install pip packages
|
|
||||||
run: |
|
|
||||||
pip3 install -U pip
|
|
||||||
pip3 install wheel
|
|
||||||
pip3 install ansible-core
|
|
||||||
|
|
||||||
- name: Deploy collection
|
- name: Deploy collection
|
||||||
run: |
|
run: |
|
||||||
ansible-galaxy collection build
|
ansible-galaxy collection build
|
||||||
|
Reference in New Issue
Block a user