seb-patch-9 #10
@@ -1,21 +1,23 @@
|
||||
name: Publish collection to Galagxy
|
||||
name: Publish collection to Galaxy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- run: apt install -y pipx
|
||||
- run: pipx install ansible==12.3.0 --include-deps
|
||||
- run: pipx inject ansible ansible-lint --include-apps
|
||||
- run: >
|
||||
apt install -y pipx yq &&
|
||||
pipx install ansible==12.3.0 --include-deps &&
|
||||
pipx inject ansible ansible-lint --include-apps
|
||||
- uses: actions/checkout@v6
|
||||
- run: >
|
||||
cd seb4itik/byow &&
|
||||
VER=$(yq -r '.version' galaxy.yml) &&
|
||||
/root/.local/bin/ansible-galaxy collection build &&
|
||||
/root/.local/bin/ansible-galaxy collection publish seb4itik-byow-0.1.2.tar.gz --api-key ${{ secrets.GALAXY_API_KEY }}
|
||||
/root/.local/bin/ansible-galaxy collection publish seb4itik-byow-${VER}.tar.gz --api-key ${{ secrets.GALAXY_API_KEY }}
|
||||
# - uses: actions/gitea-upload-artifact@v3
|
||||
# with:
|
||||
# path: /workspace/itik/bgwaf/seb4itik/byow/seb4itik-byow-0.1.2.tar.gz
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace: "seb4itik"
|
||||
name: "byow"
|
||||
version: "0.1.2"
|
||||
version: "0.1.3"
|
||||
readme: "README.md"
|
||||
authors:
|
||||
- "S. Namèche <sebastien@itik.fr>"
|
||||
|
||||
Reference in New Issue
Block a user