Skip to content

Commit

Permalink
Cleans up based on feedback
Browse files Browse the repository at this point in the history
Changes double quote to single quotes.
Changes name to fit UI.
  • Loading branch information
anweshadas committed Dec 9, 2023
1 parent eb4957d commit 8463fab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ansible-release.yml
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
build:
name: 'Build Ansible community distribution (${{ inputs.ansible-version }})'
name: 'Build Ansible (${{ inputs.ansible-version }})'
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down Expand Up @@ -49,7 +49,6 @@ jobs:
- name: Install dependencies
working-directory: antsibull
run: |
python3 -m pip install --upgrade pip
python3 -m pip install ansible-core antsibull
ansible-galaxy collection install community.general
Expand All @@ -68,18 +67,17 @@ jobs:
ansible-playbook -vv playbooks/build-single-release.yaml \
-e antsibull_data_reset=false \
-e 'antsibull_ansible_version="${{ inputs.ansible-version }}"' \
-e 'antsibull_data_dir="{{ antsibull_data_git_dir }}/${{ inputs.ansible-major-version }}"' \
-e 'antsibull_build_file="ansible-${{ inputs.ansible-major-version }}.build"'
-e 'antsibull_data_dir="{{ antsibull_data_git_dir }}/${{ inputs.ansible-major-version }}"'
env:
# Make result better readable
ANSIBLE_CALLBACK_RESULT_FORMAT: yaml

- name: Commit ansible-build-data and push the changes to github
working-directory: 'antsibull/build/ansible-build-data/${{ inputs.ansible-major-version }}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd "antsibull/build/ansible-build-data/${{ inputs.ansible-major-version }}"
git add *.rst *.build *.deps *.yaml *.in validate-tags-ignores
git commit:x
-m "${{ env.CI_COMMIT_MESSAGE }}"
Expand All @@ -91,6 +89,3 @@ jobs:
run: |
cd antsibull/build/ansible-build-data
gh pr create -B main -H "publish-${{ inputs.ansible-version }}" --title "${{ env.CI_COMMIT_MESSAGE }}" --body "${{ env.CI_COMMIT_MESSAGE }}"
3 changes: 1 addition & 2 deletions .github/workflows/upload-to-pypi.yml
Expand Up @@ -7,7 +7,7 @@ on:
Release Version. Example : 11.1.0
required: true
ansible-major-version:
description: 'Exmaple 11'
description: 'Example 11'
required: true

env:
Expand Down Expand Up @@ -46,7 +46,6 @@ jobs:
- name: Install dependencies
working-directory: antsibull
run: |
python3 -m pip install --upgrade pip
python3 -m pip install ansible-core antsibull
ansible-galaxy collection install community.general
Expand Down

0 comments on commit 8463fab

Please sign in to comment.