Skip to content

Commit 8ab70fe

Browse files
authored
BRE-324 - Change artifact to artifacts (#65)
1 parent 76f3454 commit 8ab70fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish-to-galaxy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
- Dry Run
1616

1717
permissions:
18-
contents: read
18+
contents: write
1919

2020
jobs:
2121
validate:
@@ -69,12 +69,12 @@ jobs:
6969
name: v${{ needs.validate.outputs.version }}
7070
body: "<insert release notes here>"
7171
draft: true
72-
artifact: bitwarden-secrets-${{ needs.validate.outputs.version }}.tar.gz
72+
artifacts: bitwarden-secrets-${{ needs.validate.outputs.version }}.tar.gz
7373

7474
- name: Publish to Ansible Galaxy
7575
if: ${{ inputs.release_type != 'Dry Run' }}
7676
env:
7777
_VERSION: ${{ needs.validate.outputs.version }}
7878
run: |
79-
ansible-galaxy collection bitwarden-secrets-$_VERSION.tar.gz \
80-
--api-key ${{ steps.retrieve-secret-pat.outputs.ansible-galaxy-api-key }}
79+
ansible-galaxy collection publish --token ${{ steps.retrieve-secret-pat.outputs.ansible-galaxy-api-key }} \
80+
bitwarden-secrets-$_VERSION.tar.gz

0 commit comments

Comments
 (0)