Skip to content

Commit 5c9490d

Browse files
authored
Merge branch 'mrlesmithjr:master' into remove-eol-os
2 parents 2ddf67d + 128a25b commit 5c9490d

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/release-galaxy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
name: Ansible Galaxy
3+
34
on:
45
push:
56
branches:
@@ -16,20 +17,24 @@ jobs:
1617
- uses: actions/checkout@v4
1718
with:
1819
submodules: recursive
19-
- name: Set up Python ${{ matrix.python-version }}
20+
21+
- name: Set up Python
2022
uses: actions/setup-python@v4
2123
with:
22-
python-version: ${{ matrix.python-version }}
24+
python-version: '3.11'
25+
2326
- uses: actions/cache@v4
2427
with:
2528
path: ~/.cache/pip
2629
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
2730
restore-keys: |
2831
${{ runner.os }}-pip-
32+
2933
- name: Install dependencies
3034
run: |
3135
python -m pip install --upgrade pip
3236
pip install -r requirements.txt -r requirements-dev.txt
3337
pip install pre-commit
38+
3439
- name: Trigger a new import on Galaxy.
3540
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)

0 commit comments

Comments
 (0)