Skip to content

Commit 7a6e1b4

Browse files
ci: Update publish workflow
* Use upstream action to build collection Signed-off-by: Mahendra Paipuri <[email protected]>
1 parent b6e688a commit 7a6e1b4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16-
- name: Install tools
17-
run: python -m pip install ansible-base --disable-pip-version-check
18-
19-
- name: Build the collection
20-
run: ansible-galaxy collection build
16+
- name: "Build the collection"
17+
id: build-collection
18+
uses: ansible-community/github-action-build-collection@main
2119

2220
- name: Upload built collection to release
2321
uses: svenstaro/upload-release-action@v2

0 commit comments

Comments
 (0)