network: skip "Warning when used on Ubuntu >= 22.04" on Debian (#697) #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Publish collection | |
"on": | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
publish-collection: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python3 -m pip install ansible-core~=2.12.3 | |
- name: Get the version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} | |
- name: Publish collection | |
run: ansible-playbook -i localhost, -e tag='${{ steps.get_version.outputs.VERSION }}' .github/publish-collection.yml | |
env: | |
ANSIBLE_GALAXY_TOKEN: ${{ secrets.ANSIBLE_GALAXY_TOKEN }} |