mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Workflow changes (#11692)
Modifying workflows to install python for make commands Squashing CI tasks to remove repeated steps Modifying pre-commit.sh to not fail if there are no python file changes
This commit is contained in:
8
.github/workflows/devel_image.yml
vendored
8
.github/workflows/devel_image.yml
vendored
@@ -13,6 +13,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Get python version from Makefile
|
||||
run: echo py_version=`make PYTHON_VERSION` >> $GITHUB_ENV
|
||||
|
||||
- name: Install python ${{ env.py_version }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ env.py_version }}
|
||||
|
||||
- name: Log in to registry
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
|
||||
Reference in New Issue
Block a user