Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 43af15bd4d | |||
| 10a7ac53aa | |||
| 6f17dcffc6 | |||
| 4e30f03c0e | |||
| 5257840222 | |||
| 52cd626f82 | |||
| 78be28c68e | |||
| 1208e5092b | |||
| 717aaca7eb | |||
| 98506f9803 | |||
| 309a0cd971 | |||
| c5b82f5b48 | |||
| 82a299bf33 | |||
| a717aa378f | |||
| e40cd47d28 | |||
| a7bcb0728b | |||
| bc46ae6ada |
@@ -1,8 +1,8 @@
|
|||||||
name: Publish collection to Galagxy
|
name: Publish collection to Galaxy
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
@@ -10,10 +10,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- run: apt install -y pipx
|
- run: apt install -y pipx
|
||||||
- run: pipx install ansible==12.3.0 --include-deps
|
- run: pipx install ansible==12.3.0 --include-deps
|
||||||
- run: pipx inject ansible ansible-lint --include-apps
|
- run: pipx install yq
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- run: cd seb4itik/byow && /root/.local/bin/ansible-galaxy collection build
|
- run: >
|
||||||
- uses: actions/upload-artifact@v3
|
cd seb4itik/byow &&
|
||||||
with:
|
VER=$(yq -r '.version' galaxy.yml) &&
|
||||||
name: seb4itik-byow
|
/root/.local/bin/ansible-galaxy collection build &&
|
||||||
path: /workspace/itik/bgwaf/seb4itik/byow/seb4itik-byow-0.1.2.tar.gz
|
/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"
|
namespace: "seb4itik"
|
||||||
name: "byow"
|
name: "byow"
|
||||||
version: "0.1.2"
|
version: "0.1.3"
|
||||||
readme: "README.md"
|
readme: "README.md"
|
||||||
authors:
|
authors:
|
||||||
- "S. Namèche <sebastien@itik.fr>"
|
- "S. Namèche <sebastien@itik.fr>"
|
||||||
|
|||||||
Reference in New Issue
Block a user